projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Exabytes
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index bfdf390bcf5fac48a791be18898a3dbfe968eeef..f9c6985338d998095fd35a229d8b0be5ed533760 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-22,7
+22,7
@@
static char *num2str(unsigned long num, int maxlen, int base)
* 2^10 base right now.
*/
const unsigned int thousand = 1024;
* 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;
char *buf;
int i;
@@
-47,7
+47,7
@@
static char *num2str(unsigned long num, int maxlen, int base)
num /= thousand;
num += carry;
i++;
num /= thousand;
num += carry;
i++;
- } while (i <=
4
);
+ } while (i <=
5
);
return buf;
}
return buf;
}