svn commit: trunk/busybox/init

vodz at busybox.net vodz at busybox.net
Thu Sep 29 12:55:31 UTC 2005


Author: vodz
Date: 2005-09-29 05:55:21 -0700 (Thu, 29 Sep 2005)
New Revision: 11692

Log:
don't out \r to syslog

Modified:
   trunk/busybox/init/init.c


Changeset:
Modified: trunk/busybox/init/init.c
===================================================================
--- trunk/busybox/init/init.c	2005-09-29 12:55:10 UTC (rev 11691)
+++ trunk/busybox/init/init.c	2005-09-29 12:55:21 UTC (rev 11692)
@@ -225,7 +225,7 @@
 	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();
 	}
 




More information about the busybox-cvs mailing list