aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logread.c
diff options
context:
space:
mode:
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 b52dc9cac..d5f8ca0a2 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -205,7 +205,7 @@ int logread_main(int argc UNUSED_PARAM, char **argv)
205 cur = shbuf_tail; 205 cur = shbuf_tail;
206#else 206#else
207 while (cur != shbuf_tail) { 207 while (cur != shbuf_tail) {
208 fputs(shbuf_data + cur, stdout); 208 fputs_stdout(shbuf_data + cur);
209 cur += strlen(shbuf_data + cur) + 1; 209 cur += strlen(shbuf_data + cur) + 1;
210 if (cur >= shbuf_size) 210 if (cur >= shbuf_size)
211 cur = 0; 211 cur = 0;
@@ -217,7 +217,7 @@ int logread_main(int argc UNUSED_PARAM, char **argv)
217 217
218#if ENABLE_FEATURE_LOGREAD_REDUCED_LOCKING 218#if ENABLE_FEATURE_LOGREAD_REDUCED_LOCKING
219 for (i = 0; i < len_total; i += strlen(copy + i) + 1) { 219 for (i = 0; i < len_total; i += strlen(copy + i) + 1) {
220 fputs(copy + i, stdout); 220 fputs_stdout(copy + i);
221 } 221 }
222 free(copy); 222 free(copy);
223#endif 223#endif