]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Trivial change / forced-commit to document prior change that slipped in
authorian <ian@FreeBSD.org>
Mon, 16 Mar 2015 19:29:19 +0000 (19:29 +0000)
committerian <ian@FreeBSD.org>
Mon, 16 Mar 2015 19:29:19 +0000 (19:29 +0000)
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.

sys/kern/kern_et.c

index 31743988225b1e15d51613966ef3d356a48d6165..979e0c5cf24aa2dd5af785915588259da08e1bc6 100644 (file)
@@ -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)
 {