don't out \r to syslog
This commit is contained in:
parent
bee9eb1a9d
commit
8e1bd4a05b
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user