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

platforms.
This commit is contained in:
mav 2010-09-05 06:16:04 +00:00
parent a672b2d669
commit 4f9dee93a3

View File

@ -235,6 +235,7 @@ sysctl_kern_eventtimer_choice(SYSCTL_HANDLER_ARGS)
spc = "";
error = 0;
buf[0] = 0;
off = 0;
ET_LOCK();
SLIST_FOREACH(et, &eventtimers, et_all) {