projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bded58
)
Fix from Paul Kortekaas for syslog -C option, size should be in kB.
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sun, 22 Feb 2004 12:17:33 +0000
(12:17 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sun, 22 Feb 2004 12:17:33 +0000
(12:17 -0000)
sysklogd/syslogd.c
patch
|
blob
|
history
diff --git
a/sysklogd/syslogd.c
b/sysklogd/syslogd.c
index 42426ed805ead6e3c7b4385c823014e60c2fd608..a533bce6b32d500ebed82cb15ee57cbfd3f9a5ff 100644
(file)
--- 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;