diff options
author | phk <phk@FreeBSD.org> | 1995-12-04 16:48:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-04 16:48:58 +0000 |
commit | 6b7609f9092e6573753d281b9aba2b72653ea42c (patch) | |
tree | b9250271aedd3aef5c0e964555606b5cc6e48d0e /sys/kern/kern_timeout.c | |
parent | 67e9cc4ace9f1884414dbd0309ecdef08c596c38 (diff) | |
download | FreeBSD-src-6b7609f9092e6573753d281b9aba2b72653ea42c.zip FreeBSD-src-6b7609f9092e6573753d281b9aba2b72653ea42c.tar.gz |
A major sweep over the sysctl stuff.
Move a lot of variables home to their own code (In good time before xmas :-)
Introduce the string descrition of format.
Add a couple more functions to poke into these marvels, while I try to
decide what the correct interface should look like.
Next is adding vars on the fly, and sysctl looking at them too.
Removed a tine bit of defunct and #ifdefed notused code in swapgeneric.
Diffstat (limited to 'sys/kern/kern_timeout.c')
-rw-r--r-- | sys/kern/kern_timeout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index e604eee..a88b065 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.19 1995/11/12 19:51:48 phk Exp $ + * $Id: kern_clock.c,v 1.20 1995/12/02 17:10:31 bde Exp $ */ /* Portions of this software are covered by the following: */ @@ -984,8 +984,8 @@ sysctl_kern_clockrate SYSCTL_HANDLER_ARGS return (sysctl_handle_opaque(oidp, &clkinfo, sizeof clkinfo, req)); } -SYSCTL_OID(_kern, KERN_CLOCKRATE, clockrate, - CTLTYPE_STRUCT|CTLFLAG_RD, 0, 0, sysctl_kern_clockrate, ""); +SYSCTL_PROC(_kern, KERN_CLOCKRATE, clockrate, CTLTYPE_STRUCT|CTLFLAG_RD, + 0, 0, sysctl_kern_clockrate, "S,clkinfo",""); /*#ifdef PPS_SYNC*/ #if 0 |