commit | f3502ba2dd72d846a388c774a01c6bb833871248 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Feb 14 01:27:09 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Feb 14 01:27:09 2007 +0100 |
tree | 275252aa6e10365af4c8e174b1a00ebc5b41c410 | |
parent | d0ff85dfc86a8c62807ba0f6faa8e04cca64bcb8 [diff] [blame] |
[PATCH] Exabytes Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/stat.c b/stat.c index bfdf390..f9c6985 100644 --- a/stat.c +++ b/stat.c
@@ -22,7 +22,7 @@ * 2^10 base right now. */ const unsigned int thousand = 1024; - char postfix[] = { 'K', 'M', 'G', 'P' }; + char postfix[] = { 'K', 'M', 'G', 'P', 'E' }; char *buf; int i; @@ -47,7 +47,7 @@ num /= thousand; num += carry; i++; - } while (i <= 4); + } while (i <= 5); return buf; }