svn commit: r280152 - head/sys/kern
Ian Lepore
ian at FreeBSD.org
Mon Mar 16 19:29:20 UTC 2015
Author: ian
Date: Mon Mar 16 19:29:19 2015
New Revision: 280152
URL: https://svnweb.freebsd.org/changeset/base/280152
Log:
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.
Modified:
head/sys/kern/kern_et.c
Modified: head/sys/kern/kern_et.c
==============================================================================
--- head/sys/kern/kern_et.c Mon Mar 16 19:25:03 2015 (r280151)
+++ head/sys/kern/kern_et.c Mon Mar 16 19:29:19 2015 (r280152)
@@ -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)
{
More information about the svn-src-all
mailing list