aboutsummaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 588e4e75c..11ebc6bf9 100644
--- a/init/init.c
+++ b/init/init.c
@@ -229,7 +229,9 @@ static void message(int device, const char *fmt, ...)
229 /* Log the message to syslogd */ 229 /* Log the message to syslogd */
230 if (device & LOG) { 230 if (device & LOG) {
231 /* don`t out "\r\n" */ 231 /* don`t out "\r\n" */
232 syslog_msg(LOG_DAEMON, LOG_INFO, msg + 1); 232 openlog(bb_applet_name, 0, LOG_DAEMON);
233 syslog(LOG_INFO, "%s", msg);
234 closelog();
233 } 235 }
234 236
235 msg[l++] = '\n'; 237 msg[l++] = '\n';