commit 4717ef3ff06c4097c257bb505ebe6781db8929ed
Author: Matthew Dillon <[email protected]>
Date: Wed Nov 4 13:34:09 2020 -0800
kernel - Fix uninitialized variable in kqueue_register()
* Fix another uninitialized variable that gcc didn't detect,
this time in kqueue_register().
* Caused kernel compiled with -O0 to not operate properly.
* Initializing the error variable to 0 solves the problem.
Reported-by: zrj
Summary of changes:
sys/kern/kern_event.c | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4717ef3ff06c4097c257bb505ebe6781db8929ed
--
DragonFly BSD source repository