[BusyBox] [PATCH] fix crond syslog message

Stephane Billiart stephane at reefedge.com
Thu Oct 9 18:19:33 UTC 2003


Using busybox+uclibc, crond syslog messages look like:

Oct  9 09:04:46 soekris cron.notice crond[347]: ^Icrond 2.3.2 dillon, started, log level 8 

The attached patch corrects the problem.
-- 
Stéphane
-------------- next part --------------
--- busybox-1.00-pre3/miscutils/crond.c	Thu Oct  9 10:41:27 2003
+++ busybox-1.00-pre3.new/miscutils/crond.c	Thu Oct  9 10:43:33 2003
@@ -118,7 +118,7 @@
     int type = level == 20 ?
 		    LOG_ERR : ((ctl[0] & 0100) ? LOG_WARNING : LOG_NOTICE);
 
-
+    *ctl++;
     va_start(va, ctl);
     if (level >= LogLevel) {
 


More information about the busybox mailing list