about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-15 03:28:04 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-15 03:28:04 +0000
commit6bca0305ecb29eb89c231dcbd7ab090bfa0227d7 (patch)
treea2c19cda632926b4adef32ed19ac013178bf0cee
parente3978a35db12688bfc5d938cde99e7944e16f46e (diff)
downloadglibc-6bca0305ecb29eb89c231dcbd7ab090bfa0227d7.tar.gz
glibc-6bca0305ecb29eb89c231dcbd7ab090bfa0227d7.tar.xz
glibc-6bca0305ecb29eb89c231dcbd7ab090bfa0227d7.zip
Update.
2000-06-14  Ulrich Drepper  <drepper@redhat.com>

	* misc/syslog.c (vsyslog): Initialize msgoff in all cases.
-rw-r--r--ChangeLog4
-rw-r--r--misc/syslog.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index be5c96160e..a411e73805 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 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
 	  {