From: Miroslav Lichvar Date: Wed, 1 Dec 2010 13:32:26 +0000 (+0100) Subject: Fix printing of NP and NR over 99 in sourcestats X-Git-Tag: 1.25-pre1~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63ef2badd64404ec8c1a8e411eb60d3d3b4497bf;p=thirdparty%2Fchrony.git Fix printing of NP and NR over 99 in sourcestats --- diff --git a/client.c b/client.c index 5379ca86..eaf92ab2 100644 --- a/client.c +++ b/client.c @@ -1801,7 +1801,7 @@ process_cmd_sourcestats(char *line) hostname_buf[25] = 0; } - printf("%-25s %2lu %2lu ", hostname_buf, n_samples, n_runs); + printf("%-25s %3lu %3lu ", hostname_buf, n_samples, n_runs); print_seconds(span_seconds); printf(" "); print_freq_ppm(resid_freq_ppm);