aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpkj <pkj@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-04-06 10:56:57 +0000
committerpkj <pkj@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-04-06 10:56:57 +0000
commit52d0d959731cd276c534446534e3b6606170f5e1 (patch)
tree34c811a5ead38bcf6c2b7e9e562a27be121800ed
parent15da73ef301eb7b48e00a59941818cf2e979fbbe (diff)
downloadbusybox-w32-52d0d959731cd276c534446534e3b6606170f5e1.tar.gz
busybox-w32-52d0d959731cd276c534446534e3b6606170f5e1.tar.bz2
busybox-w32-52d0d959731cd276c534446534e3b6606170f5e1.zip
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
-rw-r--r--sysklogd/logger.c6
1 files changed, 3 insertions, 3 deletions
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)
127 } 127 }
128 } 128 }
129 129
130 openlog(name, option, (pri | LOG_FACMASK)); 130 openlog(name, option, 0);
131 if (optind == argc) { 131 if (optind == argc) {
132 do { 132 do {
133 /* read from stdin */ 133 /* read from stdin */
@@ -152,8 +152,8 @@ extern int logger_main(int argc, char **argv)
152 message = xrealloc(message, len); 152 message = xrealloc(message, len);
153 if(!i) 153 if(!i)
154 message[0] = 0; 154 message[0] = 0;
155 else 155 else
156 strcat(message, " "); 156 strcat(message, " ");
157 strcat(message, *argv); 157 strcat(message, *argv);
158 argv++; 158 argv++;
159 } 159 }