From df2c56529c9784e47b4024369577ef2f3d2b73c3 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sun, 22 Feb 2004 12:17:33 +0000 Subject: [PATCH] Fix from Paul Kortekaas for syslog -C option, size should be in kB. --- sysklogd/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1