Add CTLFLAG_TUN to the sysctl definition and fix style.

Pointed by:	Garrett Cooper
MFC after:	2 weeks
This commit is contained in:
ae 2012-03-15 06:01:21 +00:00
parent 2a1b02c389
commit 894c8dc15b

View File

@ -65,8 +65,8 @@ __FBSDID("$FreeBSD$");
#ifdef KLD_DEBUG
int kld_debug = 0;
SYSCTL_INT(_debug, OID_AUTO, kld_debug, CTLFLAG_RW,
&kld_debug, 0, "Set various levels of KLD debug");
SYSCTL_INT(_debug, OID_AUTO, kld_debug, CTLFLAG_RW | CTLFLAG_TUN,
&kld_debug, 0, "Set various levels of KLD debug");
TUNABLE_INT("debug.kld_debug", &kld_debug);
#endif