about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/syslog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index c44f941411..b89055b7b2 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -160,6 +160,7 @@ vsyslog(pri, fmt, ap)
 	    *endp = '\0';
 	    buf = failbuf;
 	    bufsize = endp - failbuf;
+	    msgoff = 0;
 	  }
 	else
 	  {