mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 05:55:07 -05:00
client: fix format specifiers in sourcestats report
This commit is contained in:
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),
|
||||||
|
|||||||
Reference in New Issue
Block a user