summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/ntpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c
index e7e9922..e86f72f 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -1506,8 +1506,8 @@ update_local_clock(peer_t *p)
}
#endif
G.kernel_freq_drift = tmx.freq / 65536;
- VERB2 bb_error_msg("update peer:%s, offset:%+f, jitter:%f, clock drift:%+ld ppm",
- p->p_dotted, G.last_update_offset, G.discipline_jitter, G.kernel_freq_drift);
+ 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, (double)tmx.freq / 65536);
return 1; /* "ok to increase poll interval" */
}