From 52d0d959731cd276c534446534e3b6606170f5e1 Mon Sep 17 00:00:00 2001 From: pkj Date: Wed, 6 Apr 2005 10:56:57 +0000 Subject: Removed the incorrect and confusing facility argument specified with openlog() as the correct facility will be specified with syslog() anyway. git-svn-id: svn://busybox.net/trunk/busybox@10073 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- sysklogd/logger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sysklogd/logger.c') 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++; } -- cgit v1.2.3-55-g6feb