diff options
author | David Sterba <dsterba@suse.cz> | 2014-11-04 18:22:51 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-11-04 18:22:51 +0100 |
commit | 0287f03a8cd1309093d80dfe2da2e1d7acadd9ec (patch) | |
tree | 4ef7ab3791344824b4f496718a3f31a0af202ef5 /utils.c | |
parent | cafacda441120976105d01c07286e843cb7cbb94 (diff) |
btrfs-progs: use the correct SI prefixes
The SI standard defines lowercase 'k' and uppercase for the rest.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1328,7 +1328,7 @@ out: static const char* unit_suffix_binary[] = { "B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"}; static const char* unit_suffix_decimal[] = - { "B", "kB", "mB", "gB", "tB", "pB", "eB"}; + { "B", "kB", "MB", "GB", "TB", "PB", "EB"}; int pretty_size_snprintf(u64 size, char *str, size_t str_size, unsigned unit_mode) { |