Date: Thu, 29 May 2003 14:19:18 -0700 (PDT) From: Maxime Henrion <mux@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sysctl.c Message-ID: <200305292119.h4TLJIPk063014@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@catpipe.net>
Reviewed by: imp
Approved by: re@ (jhb)
Revision Changes Path
1.143 +24 -1 src/sys/kern/kern_sysctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305292119.h4TLJIPk063014>
