client: fix format specifiers in sourcestats report
This commit is contained in:
parent
cdb0b6124f
commit
7255f9ef74
1 changed files with 1 additions and 1 deletions
2
client.c
2
client.c
|
@ -2122,7 +2122,7 @@ process_cmd_sourcestats(char *line)
|
||||||
format_name(name, sizeof (name), 25, ip_addr.family == IPADDR_UNSPEC,
|
format_name(name, sizeof (name), 25, ip_addr.family == IPADDR_UNSPEC,
|
||||||
ntohl(reply.data.sourcestats.ref_id), &ip_addr);
|
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,
|
name,
|
||||||
(unsigned long)ntohl(reply.data.sourcestats.n_samples),
|
(unsigned long)ntohl(reply.data.sourcestats.n_samples),
|
||||||
(unsigned long)ntohl(reply.data.sourcestats.n_runs),
|
(unsigned long)ntohl(reply.data.sourcestats.n_runs),
|
||||||
|
|
Loading…
Reference in a new issue