summaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2014-12-03 08:41:08 +0000
committerThomas Adam <thomas@xteddy.org>2014-12-03 08:41:08 +0000
commitccbe2545d9857e03731eddb9757989b9f52dc785 (patch)
treeebe4a9fb1310635043e57e0c5586e49f3c2aade9 /log.c
parent3e8efcc555a2767ff0abc121cb3232d7e84c3873 (diff)
parent54ca7b230d08aae0b2028f3f82a259963017c167 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index 250a1da2..066165e8 100644
--- a/log.c
+++ b/log.c
@@ -46,7 +46,7 @@ log_open(const char *path)
if (log_file == NULL)
return;
- setlinebuf(log_file);
+ setvbuf(log_file, NULL, _IOLBF, 0);
event_set_log_callback(log_event_cb);
tzset();