From 7255f9ef7434c964dd4ff034073cb66e34411856 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 25 Nov 2016 10:16:28 +0100 Subject: [PATCH] client: fix format specifiers in sourcestats report --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 26c61ea..ccf7a36 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),