ntpd: log clock drift with three digits after decimal point
+15 bytes. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
74584b8665
commit
b124c3491b
@ -1506,8 +1506,8 @@ update_local_clock(peer_t *p)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
G.kernel_freq_drift = tmx.freq / 65536;
|
G.kernel_freq_drift = tmx.freq / 65536;
|
||||||
VERB2 bb_error_msg("update peer:%s, offset:%+f, jitter:%f, clock drift:%+ld ppm",
|
VERB2 bb_error_msg("update peer:%s, offset:%+f, jitter:%f, clock drift:%+.3f ppm",
|
||||||
p->p_dotted, G.last_update_offset, G.discipline_jitter, G.kernel_freq_drift);
|
p->p_dotted, G.last_update_offset, G.discipline_jitter, (double)tmx.freq / 65536);
|
||||||
|
|
||||||
return 1; /* "ok to increase poll interval" */
|
return 1; /* "ok to increase poll interval" */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user