aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--misc/syslog.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index be5c961..a411e73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-14 Ulrich Drepper <drepper@redhat.com>
+
+ * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
+
2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
diff --git a/misc/syslog.c b/misc/syslog.c
index c44f941..b89055b 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
{