aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2004-02-22 12:17:33 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2004-02-22 12:17:33 +0000
commitdf2c56529c9784e47b4024369577ef2f3d2b73c3 (patch)
treef8fe860de05c8e3c3fd2abf9c6e4d8ad11086c82 /sysklogd
parent4bded58207d81a1ece514bcb87676009843403e1 (diff)
downloadbusybox-df2c56529c9784e47b4024369577ef2f3d2b73c3.tar.gz
Fix from Paul Kortekaas for syslog -C option, size should be in kB.
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 42426ed80..a533bce6b 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;