[BusyBox-cvs] busybox/sysklogd syslogd.c,1.106,1.107

Glenn McGrath bug1 at busybox.net
Sun Feb 22 12:17:36 UTC 2004


Update of /var/cvs/busybox/sysklogd
In directory nail:/tmp/cvs-serv3987/sysklogd

Modified Files:
	syslogd.c 
Log Message:
Fix from Paul Kortekaas for syslog -C option, size should be in kB.


Index: syslogd.c
===================================================================
RCS file: /var/cvs/busybox/sysklogd/syslogd.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- a/syslogd.c	19 Dec 2003 11:32:14 -0000	1.106
+++ b/syslogd.c	22 Feb 2004 12:17:33 -0000	1.107
@@ -660,7 +660,7 @@
 			if (optarg) {
 				int buf_size = atoi(optarg);
 				if (buf_size >= 4) {
-					shm_size = buf_size;
+					shm_size = buf_size * 1024;
 				}
 			}
 			circular_logging = TRUE;




More information about the busybox-cvs mailing list