diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-02-22 15:17:33 +0300 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-02-22 15:17:33 +0300 |
commit | df2c56529c9784e47b4024369577ef2f3d2b73c3 (patch) | |
tree | f8fe860de05c8e3c3fd2abf9c6e4d8ad11086c82 /sysklogd | |
parent | 4bded58207d81a1ece514bcb87676009843403e1 (diff) |
Fix from Paul Kortekaas for syslog -C option, size should be in kB.
Diffstat (limited to 'sysklogd')
-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) if (optarg) { int buf_size = atoi(optarg); if (buf_size >= 4) { - shm_size = buf_size; + shm_size = buf_size * 1024; } } circular_logging = TRUE; |