From 5968e18b69a916454a08921aeaa30085b749c0fa Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 30 Aug 1999 16:21:32 +0000 Subject: [PATCH] pps_shiftmax only exists #ifdef PPS_SYNC Found by: Roger Hardiman --- sys/kern/kern_ntptime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c index eedc00cf02f6..29a5cba44fa3 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 *