Message ID | 1373478012-7247-1-git-send-email-dsterba@suse.cz (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/utils.c b/utils.c index bce06f1..2e24cb0 100644 --- a/utils.c +++ b/utils.c @@ -1173,8 +1173,7 @@ out: return ret; } -static char *size_strs[] = { "", "KB", "MB", "GB", "TB", - "PB", "EB"}; +static char *size_strs[] = { "", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"}; void pretty_size_snprintf(u64 size, char *str, size_t str_bytes) { int num_divs = 0;
As implemented now, we use 1024 based units but reporting 1000 based, let's finally fix that and add optional unit bases later. Signed-off-by: David Sterba <dsterba@suse.cz> --- utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)