From c1d81a863cea3d20e1baca9672c39196cfbc8924 Mon Sep 17 00:00:00 2001 From: Keuin Date: Tue, 28 Dec 2021 05:49:53 +0800 Subject: Bugfix: wrong logging statement. --- netmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3