mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Use uint instead of int for flags exported via sysctl.
This commit is contained in:
parent
aef49b2b1a
commit
3356d129ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243971
@ -112,7 +112,7 @@ static SYSCTL_NODE(_debug, OID_AUTO, ktr, CTLFLAG_RD, 0, "KTR options");
|
||||
SYSCTL_INT(_debug_ktr, OID_AUTO, version, CTLFLAG_RD,
|
||||
&ktr_version, 0, "Version of the KTR interface");
|
||||
|
||||
SYSCTL_INT(_debug_ktr, OID_AUTO, compile, CTLFLAG_RD,
|
||||
SYSCTL_UINT(_debug_ktr, OID_AUTO, compile, CTLFLAG_RD,
|
||||
&ktr_compile, 0, "Bitmask of KTR event classes compiled into the kernel");
|
||||
|
||||
static void
|
||||
@ -190,8 +190,8 @@ sysctl_debug_ktr_mask(SYSCTL_HANDLER_ARGS)
|
||||
return (error);
|
||||
}
|
||||
|
||||
SYSCTL_PROC(_debug_ktr, OID_AUTO, mask, CTLTYPE_INT|CTLFLAG_RW, 0, 0,
|
||||
sysctl_debug_ktr_mask, "I",
|
||||
SYSCTL_PROC(_debug_ktr, OID_AUTO, mask, CTLTYPE_UINT|CTLFLAG_RW, 0, 0,
|
||||
sysctl_debug_ktr_mask, "IU",
|
||||
"Bitmask of KTR event classes for which logging is enabled");
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user