diff options
author | mdf <mdf@FreeBSD.org> | 2011-01-13 18:20:27 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2011-01-13 18:20:27 +0000 |
commit | 306bf0c0556146f31a267cdfb61f5a21546d9693 (patch) | |
tree | a4876215ee3bf8a85cfadfb9a7d228526686a08c /sys/kern/kern_ntptime.c | |
parent | 8e958f8d926ad24b4b8eca155a3924882e00084f (diff) | |
download | FreeBSD-src-306bf0c0556146f31a267cdfb61f5a21546d9693.zip FreeBSD-src-306bf0c0556146f31a267cdfb61f5a21546d9693.tar.gz |
Fix up a few more sysctl(9) mis-typing found in various LINT builds.
Diffstat (limited to 'sys/kern/kern_ntptime.c')
-rw-r--r-- | sys/kern/kern_ntptime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c index f817613..4050baf 100644 --- a/sys/kern/kern_ntptime.c +++ b/sys/kern/kern_ntptime.c @@ -299,7 +299,8 @@ SYSCTL_PROC(_kern_ntp_pll, OID_AUTO, gettime, CTLTYPE_OPAQUE|CTLFLAG_RD, #ifdef PPS_SYNC SYSCTL_INT(_kern_ntp_pll, OID_AUTO, pps_shiftmax, CTLFLAG_RW, &pps_shiftmax, 0, ""); SYSCTL_INT(_kern_ntp_pll, OID_AUTO, pps_shift, CTLFLAG_RW, &pps_shift, 0, ""); -SYSCTL_INT(_kern_ntp_pll, OID_AUTO, time_monitor, CTLFLAG_RD, &time_monitor, 0, ""); +SYSCTL_LONG(_kern_ntp_pll, OID_AUTO, time_monitor, CTLFLAG_RD, + &time_monitor, 0, ""); SYSCTL_OPAQUE(_kern_ntp_pll, OID_AUTO, pps_freq, CTLFLAG_RD, &pps_freq, sizeof(pps_freq), "I", ""); SYSCTL_OPAQUE(_kern_ntp_pll, OID_AUTO, time_freq, CTLFLAG_RD, &time_freq, sizeof(time_freq), "I", ""); |