]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
client: fix format specifiers in sourcestats report
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 25 Nov 2016 09:16:28 +0000 (10:16 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 25 Nov 2016 16:33:43 +0000 (17:33 +0100)
client.c

index 26c61eadc07eb8d645229289d86b49ab295c6bfd..ccf7a36aaaaa3b53603929d988b08174a62181d9 100644 (file)
--- 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),