diff options
author | phk <phk@FreeBSD.org> | 1999-08-30 16:21:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-08-30 16:21:32 +0000 |
commit | dc1e390721227527a9b5bcf202aff778a2282cd8 (patch) | |
tree | 851af0c7c5271d747203a5a1d74756aa81dc92c2 /sys/kern | |
parent | 74b51246fee62480a74bb195327a9b69ac588169 (diff) | |
download | FreeBSD-src-dc1e390721227527a9b5bcf202aff778a2282cd8.zip FreeBSD-src-dc1e390721227527a9b5bcf202aff778a2282cd8.tar.gz |
pps_shiftmax only exists #ifdef PPS_SYNC
Found by: Roger Hardiman <roger@cs.strath.ac.uk>
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_ntptime.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c index eedc00c..29a5cba 100644 --- a/sys/kern/kern_ntptime.c +++ b/sys/kern/kern_ntptime.c @@ -241,7 +241,9 @@ SYSCTL_NODE(_kern, OID_AUTO, ntp_pll, CTLFLAG_RW, 0, ""); SYSCTL_PROC(_kern_ntp_pll, OID_AUTO, gettime, CTLTYPE_OPAQUE|CTLFLAG_RD, 0, sizeof(struct ntptimeval) , ntp_sysctl, "S,ntptimeval", ""); +#ifdef PPS_SYNC SYSCTL_INT(_kern_ntp_pll, OID_AUTO, pps_shiftmax, CTLFLAG_RW, &pps_shiftmax, 0, ""); +#endif /* * ntp_adjtime() - NTP daemon application interface * |