mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
sysctl.9: Constant integer example: Do not promote 'debug.sizeof'
Replace it with another one, selected from current in-tree uses. MFC after: 1 day Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
f6e8268917
commit
129a6cf886
1 changed files with 2 additions and 2 deletions
|
|
@ -931,8 +931,8 @@ Examples of integer, opaque, string, and procedure sysctls follow:
|
|||
* flags are CTLFLAG_RD, the variable pointer is SYSCTL_NULL_INT_PTR,
|
||||
* and the value is declared.
|
||||
*/
|
||||
SYSCTL_INT(_debug_sizeof, OID_AUTO, bio, CTLFLAG_RD, SYSCTL_NULL_INT_PTR,
|
||||
sizeof(struct bio), "sizeof(struct bio)");
|
||||
SYSCTL_INT(_kern, OID_AUTO, hz_max, CTLFLAG_RD, SYSCTL_NULL_INT_PTR, HZ_MAXIMUM,
|
||||
"Maximum hz value supported");
|
||||
|
||||
/*
|
||||
* Example of a variable integer value. Notice that the control
|
||||
|
|
|
|||
Loading…
Reference in a new issue