mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 02:05:06 -05:00
ntp: fix length modifier of refid in measurements log
This commit is contained in:
@@ -1625,7 +1625,7 @@ receive_packet(NCR_Instance inst, NTP_Local_Address *local_addr,
|
|||||||
|
|
||||||
/* Do measurement logging */
|
/* Do measurement logging */
|
||||||
if (logfileid != -1) {
|
if (logfileid != -1) {
|
||||||
LOG_FileWrite(logfileid, "%s %-15s %1c %2d %1d%1d%1d %1d%1d%1d %1d%1d%1d%d %2d %2d %4.2f %10.3e %10.3e %10.3e %10.3e %10.3e %08X %1d%1c %1c %1c",
|
LOG_FileWrite(logfileid, "%s %-15s %1c %2d %1d%1d%1d %1d%1d%1d %1d%1d%1d%d %2d %2d %4.2f %10.3e %10.3e %10.3e %10.3e %10.3e %08"PRIX32" %1d%1c %1c %1c",
|
||||||
UTI_TimeToLogForm(sample_time.tv_sec),
|
UTI_TimeToLogForm(sample_time.tv_sec),
|
||||||
UTI_IPToString(&inst->remote_addr.ip_addr),
|
UTI_IPToString(&inst->remote_addr.ip_addr),
|
||||||
leap_chars[pkt_leap],
|
leap_chars[pkt_leap],
|
||||||
|
|||||||
Reference in New Issue
Block a user