summary refs log tree commit diff
path: root/misc
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 /misc
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.
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
 	  {