mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make the same size rounding error both ways.
This commit is contained in:
parent
7f29144bc9
commit
3a25914cfd
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue