Add CTLFLAG_TUN to the sysctl definition and fix style.
Pointed by: Garrett Cooper MFC after: 2 weeks
This commit is contained in:
parent
2a1b02c389
commit
894c8dc15b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user