From 8e1bd4a05b3ef84b886e32783d8fd40726e6c6a0 Mon Sep 17 00:00:00 2001 From: "Vladimir N. Oleynik" Date: Thu, 29 Sep 2005 12:55:21 +0000 Subject: don't out \r to syslog --- init/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init') diff --git a/init/init.c b/init/init.c index 058a47a..166f526 100644 --- a/init/init.c +++ b/init/init.c @@ -225,7 +225,7 @@ static void message(int device, const char *fmt, ...) if (device & LOG) { /* don`t out "\r\n" */ openlog(bb_applet_name, 0, LOG_DAEMON); - syslog(LOG_INFO, "%s", msg); + syslog(LOG_INFO, "%s", msg + 1); closelog(); } -- cgit v1.1