Add CTLFLAG_TUN to the sysctl definition and fix style.
Pointed by: Garrett Cooper MFC after: 2 weeks
This commit is contained in:
parent
fba09d4c08
commit
b26a09848a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232999
@ -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…
Reference in New Issue
Block a user