[BusyBox-cvs] svn commit: trunk/busybox/sysklogd

pkj at busybox.net pkj at busybox.net
Wed Apr 6 10:56:58 UTC 2005


Author: pkj
Date: 2005-04-06 04:56:57 -0600 (Wed, 06 Apr 2005)
New Revision: 10073

Log:
Removed the incorrect and confusing facility argument specified with
openlog() as the correct facility will be specified with syslog()
anyway.


Modified:
   trunk/busybox/sysklogd/logger.c


Changeset:
Modified: trunk/busybox/sysklogd/logger.c
===================================================================
--- trunk/busybox/sysklogd/logger.c	2005-04-05 05:06:10 UTC (rev 10072)
+++ trunk/busybox/sysklogd/logger.c	2005-04-06 10:56:57 UTC (rev 10073)
@@ -127,7 +127,7 @@
 		}
 	}
 
-	openlog(name, option, (pri | LOG_FACMASK));
+	openlog(name, option, 0);
 	if (optind == argc) {
 		do {
 			/* read from stdin */
@@ -152,8 +152,8 @@
 			message = xrealloc(message, len);
 			if(!i)
 				message[0] = 0;
-			 else
-			strcat(message, " ");
+			else
+				strcat(message, " ");
 			strcat(message, *argv);
 			argv++;
 		}




More information about the busybox-cvs mailing list