aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysklogd/syslogd.c4
-rw-r--r--syslogd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 379efcf51..9c7375852 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -372,7 +372,7 @@ static const int IOV_COUNT = 2;
static void quit_signal(int sig)
{
- logMessage(0, "System log daemon exiting.");
+ logMessage(LOG_SYSLOG | LOG_INFO, "System log daemon exiting.");
unlink(lfile);
#ifdef BB_FEATURE_IPC_SYSLOG
ipcsyslog_cleanup();
@@ -525,7 +525,7 @@ static void doSyslogd (void)
}
#endif
- logMessage (0, "syslogd started: " BB_BANNER);
+ logMessage (LOG_SYSLOG | LOG_INFO, "syslogd started: " BB_BANNER);
for (;;) {
diff --git a/syslogd.c b/syslogd.c
index 379efcf51..9c7375852 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -372,7 +372,7 @@ static const int IOV_COUNT = 2;
static void quit_signal(int sig)
{
- logMessage(0, "System log daemon exiting.");
+ logMessage(LOG_SYSLOG | LOG_INFO, "System log daemon exiting.");
unlink(lfile);
#ifdef BB_FEATURE_IPC_SYSLOG
ipcsyslog_cleanup();
@@ -525,7 +525,7 @@ static void doSyslogd (void)
}
#endif
- logMessage (0, "syslogd started: " BB_BANNER);
+ logMessage (LOG_SYSLOG | LOG_INFO, "syslogd started: " BB_BANNER);
for (;;) {