From: Peter Kjellerstedt Date: Wed, 6 Apr 2005 10:56:57 +0000 (-0000) Subject: Removed the incorrect and confusing facility argument specified with X-Git-Tag: 1_1_0~1085 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c089ccdb441cf1493e974fa2ed4f9ac22c5637c7;p=oweals%2Fbusybox.git Removed the incorrect and confusing facility argument specified with openlog() as the correct facility will be specified with syslog() anyway. --- diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 16155316f..fee33b788 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -127,7 +127,7 @@ extern int logger_main(int argc, char **argv) } } - openlog(name, option, (pri | LOG_FACMASK)); + openlog(name, option, 0); if (optind == argc) { do { /* read from stdin */ @@ -152,8 +152,8 @@ extern int logger_main(int argc, char **argv) message = xrealloc(message, len); if(!i) message[0] = 0; - else - strcat(message, " "); + else + strcat(message, " "); strcat(message, *argv); argv++; }