summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_ntptime.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-04 16:48:58 +0000
committerphk <phk@FreeBSD.org>1995-12-04 16:48:58 +0000
commit6b7609f9092e6573753d281b9aba2b72653ea42c (patch)
treeb9250271aedd3aef5c0e964555606b5cc6e48d0e /sys/kern/kern_ntptime.c
parent67e9cc4ace9f1884414dbd0309ecdef08c596c38 (diff)
downloadFreeBSD-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_ntptime.c')
-rw-r--r--sys/kern/kern_ntptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
index 8a2e006..799b7bf 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -159,7 +159,7 @@ ntp_sysctl SYSCTL_HANDLER_ARGS
SYSCTL_NODE(_kern, KERN_NTP_PLL, ntp_pll, CTLFLAG_RW, 0,
"NTP kernel PLL related stuff");
SYSCTL_PROC(_kern_ntp_pll, NTP_PLL_GETTIME, gettime, CTLTYPE_OPAQUE|CTLFLAG_RD,
- 0, sizeof(struct ntptimeval) , ntp_sysctl, "");
+ 0, sizeof(struct ntptimeval) , ntp_sysctl, "S,ntptimeval", "");
/*
* ntp_adjtime() - NTP daemon application interface
OpenPOWER on IntegriCloud