From: Miroslav Lichvar Date: Fri, 25 Nov 2016 09:16:28 +0000 (+0100) Subject: client: fix format specifiers in sourcestats report X-Git-Tag: 3.0-pre1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7255f9ef7434c964dd4ff034073cb66e34411856;p=thirdparty%2Fchrony.git client: fix format specifiers in sourcestats report --- diff --git a/client.c b/client.c index 26c61ead..ccf7a36a 100644 --- a/client.c +++ b/client.c @@ -2122,7 +2122,7 @@ process_cmd_sourcestats(char *line) format_name(name, sizeof (name), 25, ip_addr.family == IPADDR_UNSPEC, ntohl(reply.data.sourcestats.ref_id), &ip_addr); - print_report("%-25s %3u %3u %I %+P %P %+S %S\n", + print_report("%-25s %3U %3U %I %+P %P %+S %S\n", name, (unsigned long)ntohl(reply.data.sourcestats.n_samples), (unsigned long)ntohl(reply.data.sourcestats.n_runs),