diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-02-22 12:17:33 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-02-22 12:17:33 +0000 |
commit | df2c56529c9784e47b4024369577ef2f3d2b73c3 (patch) | |
tree | f8fe860de05c8e3c3fd2abf9c6e4d8ad11086c82 | |
parent | 4bded58207d81a1ece514bcb87676009843403e1 (diff) | |
download | busybox-w32-df2c56529c9784e47b4024369577ef2f3d2b73c3.tar.gz busybox-w32-df2c56529c9784e47b4024369577ef2f3d2b73c3.tar.bz2 busybox-w32-df2c56529c9784e47b4024369577ef2f3d2b73c3.zip |
Fix from Paul Kortekaas for syslog -C option, size should be in kB.
-rw-r--r-- | sysklogd/syslogd.c | 2 |
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) | |||
660 | if (optarg) { | 660 | if (optarg) { |
661 | int buf_size = atoi(optarg); | 661 | int buf_size = atoi(optarg); |
662 | if (buf_size >= 4) { | 662 | if (buf_size >= 4) { |
663 | shm_size = buf_size; | 663 | shm_size = buf_size * 1024; |
664 | } | 664 | } |
665 | } | 665 | } |
666 | circular_logging = TRUE; | 666 | circular_logging = TRUE; |