]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Fix printing of NP and NR over 99 in sourcestats
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 1 Dec 2010 13:32:26 +0000 (14:32 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 1 Dec 2010 13:32:26 +0000 (14:32 +0100)
client.c

index 5379ca863bc75cc08e3a684fc336930253b9dba3..eaf92ab21a0b272cd731152dc76dfbb5cc738eb0 100644 (file)
--- 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);