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