mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Fix from Paul Kortekaas for syslog -C option, size should be in kB.
This commit is contained in:
parent
4bded58207
commit
df2c56529c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue