aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logread.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-05-29 14:20:10 +0100
committerRon Yorston <rmy@pobox.com>2017-05-29 14:34:28 +0100
commitda4f331955bed8afda670afcd58d524a04a0faa9 (patch)
treef6a3879aefdd714240f8c022375f687b512d2238 /sysklogd/logread.c
parent74163a535fd21f5fcca4c052d2e7c192d3e264fa (diff)
parent6683d1cbb44859f549f87f882545b84b9369585c (diff)
downloadbusybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.tar.gz
busybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.tar.bz2
busybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'sysklogd/logread.c')
-rw-r--r--sysklogd/logread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 1f0c6252d..71459941e 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -24,7 +24,7 @@
24//config: default y 24//config: default y
25//config: depends on LOGREAD 25//config: depends on LOGREAD
26//config: help 26//config: help
27//config: 'logread' ouput to slow serial terminals can have 27//config: 'logread' output to slow serial terminals can have
28//config: side effects on syslog because of the semaphore. 28//config: side effects on syslog because of the semaphore.
29//config: This option make logread to double buffer copy 29//config: This option make logread to double buffer copy
30//config: from circular buffer, minimizing semaphore 30//config: from circular buffer, minimizing semaphore
@@ -159,7 +159,7 @@ int logread_main(int argc UNUSED_PARAM, char **argv)
159 cur, shbuf_tail, shbuf_size); 159 cur, shbuf_tail, shbuf_size);
160 160
161 if (!(follow & 1)) { /* not -f */ 161 if (!(follow & 1)) { /* not -f */
162 /* if -F, "convert" it to -f, so that we dont 162 /* if -F, "convert" it to -f, so that we don't
163 * dump the entire buffer on each iteration 163 * dump the entire buffer on each iteration
164 */ 164 */
165 follow >>= 1; 165 follow >>= 1;