summaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
authorGlenn L McGrath2004-02-22 12:17:33 +0000
committerGlenn L McGrath2004-02-22 12:17:33 +0000
commitdf2c56529c9784e47b4024369577ef2f3d2b73c3 (patch)
treef8fe860de05c8e3c3fd2abf9c6e4d8ad11086c82 /sysklogd/syslogd.c
parent4bded58207d81a1ece514bcb87676009843403e1 (diff)
downloadbusybox-df2c56529c9784e47b4024369577ef2f3d2b73c3.zip
busybox-df2c56529c9784e47b4024369577ef2f3d2b73c3.tar.gz
Fix from Paul Kortekaas for syslog -C option, size should be in kB.
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 42426ed..a533bce 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -660,7 +660,7 @@ extern int syslogd_main(int argc, char **argv)
if (optarg) {
int buf_size = atoi(optarg);
if (buf_size >= 4) {
- shm_size = buf_size;
+ shm_size = buf_size * 1024;
}
}
circular_logging = TRUE;