CTDB: change how the hop count buckets are displayed in ctdb statistics
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 20 Mar 2012 00:43:09 +0000 (11:43 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 20 Mar 2012 00:43:09 +0000 (11:43 +1100)
tools/ctdb.c

index 3f112072732f21f73518da7ba334959d241550c1..28b6e8fc3a014e664747802cd07042bd1b4955d8 100644 (file)
@@ -442,7 +442,7 @@ static void show_statistics(struct ctdb_statistics *s, int show_header)
                               preflen?0:4, "",
                               *(uint32_t *)(fields[i].offset+(uint8_t *)s));
                }
-               printf("Max hop count buckets:");
+               printf(" hop_count_buckets:");
                for (i=0;i<MAX_HOP_COUNT_BUCKETS;i++) {
                        printf(" %d", s->hop_count_bucket[i]);
                }