summaryrefslogtreecommitdiff
path: root/netmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'netmon.c')
-rw-r--r--netmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netmon.c b/netmon.c
index f3104fd..206a85f 100644
--- a/netmon.c
+++ b/netmon.c
@@ -29,7 +29,7 @@ void daemonize() {
if (pid > 0) {
char buf[32];
sprintf(buf, "Child process: %d", pid);
- log_init(buf);
+ log_info(logger, buf);
exit(0); // exit parent process
}
// unmask the file mode