From 756c2e9afbd9b6defc9ab03ab1b08c5fe972a576 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 28 Nov 2016 10:43:27 +0100 Subject: [PATCH] ntp: fix length modifier of refid in measurements log --- ntp_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntp_core.c b/ntp_core.c index a0b55df..24b4891 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -1625,7 +1625,7 @@ receive_packet(NCR_Instance inst, NTP_Local_Address *local_addr, /* Do measurement logging */ 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_IPToString(&inst->remote_addr.ip_addr), leap_chars[pkt_leap],