diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-29 16:55:21 +0400 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-29 16:55:21 +0400 |
commit | 8e1bd4a05b3ef84b886e32783d8fd40726e6c6a0 (patch) | |
tree | 97bcaa510e52243a07cd9b9f5e77c2ece2c38e76 /init | |
parent | bee9eb1a9d04503d58070bd1946cc2c0538fcf95 (diff) |
don't out \r to syslog
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |