summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-12-28 05:56:54 +0800
committerKeuin <[email protected]>2021-12-28 05:56:54 +0800
commit0a6f3b2c456e54b9bcf0aceb7151d6c989f9d93b (patch)
tree6877997d6d9d82ffa56502bd4cb894c1710bc730
parentce4d969bcb82e0831dabc7f555083084f96da6f5 (diff)
Bugfix: wrong logging statement.
-rw-r--r--netmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netmon.c b/netmon.c
index 28f43fe..fb8bf66 100644
--- a/netmon.c
+++ b/netmon.c
@@ -230,7 +230,7 @@ int main(int argc, char *argv[]) {
loop();
log_info(logger, "netmon is stopped.");
if (require_reboot) {
- log_init("Trigger system reboot.");
+ log_info(logger, "Trigger system reboot.");
system("reboot");
}
log_free(logger);