summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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 a69e6dddb75e..f8c0222b9261 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -281,7 +281,7 @@ ntp_adjtime(struct proc *p, struct ntp_adjtime_args *uap)
return (error);
s = splclock();
if (modes & MOD_FREQUENCY) {
- L_LINT(time_freq, ntv.freq / SCALE_PPM);
+ time_freq = (ntv.freq * 1000LL) << 16;
#ifdef PPS_SYNC
pps_freq = time_freq;
#endif /* PPS_SYNC */