commit 41eca06f70153b7adc9364f35ece24fd628a96dd
parent 9adb9c6c1a308e2845d822987948afbf12fc943b
Author: sin <sin@2f30.org>
Date: Sun, 24 Feb 2019 23:39:30 +0000
Capitalize stat output
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dedup.c b/dedup.c
@@ -83,20 +83,20 @@ print_stats(struct stats *st)
if (st->nr_blks == 0)
return;
- fprintf(stderr, "original size: %llu bytes\n",
+ fprintf(stderr, "Original size: %llu bytes\n",
(unsigned long long)st->orig_size);
- fprintf(stderr, "compressed size: %llu bytes\n",
+ fprintf(stderr, "Compressed size: %llu bytes\n",
(unsigned long long)st->comp_size);
- fprintf(stderr, "deduplicated size: %llu bytes\n",
+ fprintf(stderr, "Deduplicated size: %llu bytes\n",
(unsigned long long)st->dedup_size);
- fprintf(stderr, "min/avg/max block size: %llu/%llu/%llu\n",
+ fprintf(stderr, "Min/avg/max block size: %llu/%llu/%llu bytes\n",
(unsigned long long)st->min_blk_size,
(unsigned long long)st->dedup_size / st->nr_blks,
(unsigned long long)st->max_blk_size);
- fprintf(stderr, "number of blocks: %llu\n",
+ fprintf(stderr, "Number of unique blocks: %llu\n",
(unsigned long long)st->nr_blks);
- fprintf(stderr, "cache hits: %llu\n", cache_hits);
- fprintf(stderr, "cache misses: %llu\n", cache_misses);
+ fprintf(stderr, "Cache hits: %llu\n", cache_hits);
+ fprintf(stderr, "Cache misses: %llu\n", cache_misses);
}
static void