mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
ddb: Add sysctl flag CTLFLAG_TUN to loader tunable
The sysctl variable 'debug.ddb.capture.bufsize' is actually a loader tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it correctly. No functional change intended. Reviewed by: kib, imp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42113
This commit is contained in:
parent
e2ad7ce37b
commit
0eb2e19789
1 changed files with 2 additions and 2 deletions
|
|
@ -165,8 +165,8 @@ sysctl_debug_ddb_capture_bufsize(SYSCTL_HANDLER_ARGS)
|
|||
return (0);
|
||||
}
|
||||
SYSCTL_PROC(_debug_ddb_capture, OID_AUTO, bufsize,
|
||||
CTLTYPE_UINT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 0,
|
||||
sysctl_debug_ddb_capture_bufsize, "IU",
|
||||
CTLTYPE_UINT | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | CTLFLAG_MPSAFE,
|
||||
0, 0, sysctl_debug_ddb_capture_bufsize, "IU",
|
||||
"Size of DDB capture buffer");
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue