← Commit list

b124c3491

Denys Vlasenko
Denys Vlasenko
2012-03-02
FAILED Duration: 206s

Subject

ntpd: log clock drift with three digits after decimal point

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ntpd.c+2 -2
@@ -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" */
}