Author: mav
Date: Sun Sep  5 06:16:04 2010
New Revision: 212223
URL: http://svn.freebsd.org/changeset/base/212223

Log:
  Initialize buffer for case of empty string. Happens only on non-refactored
  platforms.

Modified:
  head/sys/kern/kern_et.c

Modified: head/sys/kern/kern_et.c
==============================================================================
--- head/sys/kern/kern_et.c     Sun Sep  5 05:44:40 2010        (r212222)
+++ head/sys/kern/kern_et.c     Sun Sep  5 06:16:04 2010        (r212223)
@@ -235,6 +235,7 @@ sysctl_kern_eventtimer_choice(SYSCTL_HAN
 
        spc = "";
        error = 0;
+       buf[0] = 0;
        off = 0;
        ET_LOCK();
        SLIST_FOREACH(et, &eventtimers, et_all) {
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to