summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-11-22 21:58:43 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2013-11-22 21:58:43 +0100
commit56027b5cbd7f432d30f7fc99bcf8680c840e6163 (patch)
tree271278d459a5d97c8911b842a02854230dfaca5c /sysdep/unix
parent1fba34a7a1e245f08212a31a65030230da8c451d (diff)
Minor fix in log_commit() w.r.t. changes in BFD branch.
Diffstat (limited to 'sysdep/unix')
-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);