31 lines
751 B
Diff
31 lines
751 B
Diff
|
From d37ac57247379f929cd25cc1388c3df8830d704d Mon Sep 17 00:00:00 2001
|
||
|
From: David Sterba <dsterba@suse.cz>
|
||
|
Date: Mon, 26 Mar 2012 14:50:48 +0200
|
||
|
Subject: [PATCH 8/8] btrfs-progs: use IEEE1541 suffixes for sizes
|
||
|
|
||
|
IEEE 1541-2002
|
||
|
|
||
|
Signed-off-by: David Sterba <dsterba@suse.cz>
|
||
|
---
|
||
|
utils.c | 4 ++--
|
||
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/utils.c b/utils.c
|
||
|
index f885307..97e0da7 100644
|
||
|
--- a/utils.c
|
||
|
+++ b/utils.c
|
||
|
@@ -1094,8 +1094,8 @@ out:
|
||
|
return ret;
|
||
|
}
|
||
|
|
||
|
-static char *size_strs[] = { "", "KB", "MB", "GB", "TB",
|
||
|
- "PB", "EB", "ZB", "YB"};
|
||
|
+static char *size_strs[] = { "", "KiB", "MiB", "GiB", "TiB",
|
||
|
+ "PiB", "EiB", "ZiB", "YiB"};
|
||
|
char *pretty_sizes(u64 size)
|
||
|
{
|
||
|
int num_divs = 0;
|
||
|
--
|
||
|
1.7.6.233.gd79bc
|
||
|
|