mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
Trivial change / forced-commit to document prior change that slipped in
without a commit message... Use sbuf_new() + SYSCTL_OUT() instead of wiring the userland buffer and using sbuf_new_for_sysctl(). The preallocated 256 byte buffer is always going to be big enough to hold these results, and this should be more efficient than wiring the old buffer.
This commit is contained in:
parent
ff352d8978
commit
f62fbd30cb
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ et_free(struct eventtimer *et)
|
|||
return (0);
|
||||
}
|
||||
|
||||
/* Report list of supported event timers hardware via sysctl. */
|
||||
/* Report list of supported event timer hardware via sysctl. */
|
||||
static int
|
||||
sysctl_kern_eventtimer_choice(SYSCTL_HANDLER_ARGS)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue