summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index 9dd4d66f..0f4c06e9 100644
--- a/sysdep/unix/log.c
+++ b/sysdep/unix/log.c
@@ -130,6 +130,8 @@ log_commit(int class, buffer *buf)
/* FIXME: cli_echo is not thread-safe */
cli_echo(class, buf->start);
+
+ buf->pos = buf->start;
}
int buffer_vprint(buffer *buf, const char *fmt, va_list args);