cvs commit: src/sys/kern kern_sysctl.c
Maxime Henrion
mux at FreeBSD.org
Thu May 29 14:19:19 PDT 2003
mux 2003/05/29 14:19:18 PDT
FreeBSD src repository
Modified files:
sys/kern kern_sysctl.c
Log:
When loading a module that contains a sysctl which is already compiled
in the kernel, the sysctl_register() call would fail, as expected.
However, when unloading this module again, the kernel would then panic
in sysctl_unregister(). Print a message error instead.
Submitted by: Nicolai Petri <nicolai at catpipe.net>
Reviewed by: imp
Approved by: re@ (jhb)
Revision Changes Path
1.143 +24 -1 src/sys/kern/kern_sysctl.c
More information about the cvs-all
mailing list