From a10f69ff9fd0ed4f4e8c4b09696d2edaeb85b7f5 Mon Sep 17 00:00:00 2001 From: vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> Date: Thu, 29 Sep 2005 12:55:21 +0000 Subject: don't out \r to syslog git-svn-id: svn://busybox.net/trunk/busybox@11692 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- init/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/init.c b/init/init.c index 058a47a83..166f526e0 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.2.3-55-g6feb