diff options
author | Keuin <[email protected]> | 2021-12-28 05:49:53 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2021-12-28 05:49:53 +0800 |
commit | c1d81a863cea3d20e1baca9672c39196cfbc8924 (patch) | |
tree | eb57db889ead8eace953b58a43cf090c801d2e1f | |
parent | ad84112014b7eb7a8664c5c6f376e736e2ec89c6 (diff) |
Bugfix: wrong logging statement.
-rw-r--r-- | netmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |