Message ID | 5e18c42732d18e0c504e76b4622246c642cbe9cc.1398786620.git.dsterba@suse.cz (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | David Sterba |
Headers | show |
diff --git a/utils.c b/utils.c index ca150404ea6f..159abf8bd0e4 100644 --- a/utils.c +++ b/utils.c @@ -1252,7 +1252,7 @@ out: return ret; } -static char *size_strs[] = { "", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"}; +static char *size_strs[] = { "B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"}; int pretty_size_snprintf(u64 size, char *str, size_t str_bytes) { int num_divs = 0;
This arguably helps parsers. Signed-off-by: David Sterba <dsterba@suse.cz> --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)