diff options
-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; |