summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-09-09 08:57:10 +0200
committerYorhel <git@yorhel.nl>2011-09-09 08:57:10 +0200
commit260f138d3f5e4b014e2b88424215e0d69238f3b3 (patch)
treeead70451da20bcad414e341a7c98c4719f8e4587 /src
parent76d242dafc2a528b1e5e28ce198129ea5ed368ad (diff)
util.c: Use KiB instead of kiB (bug #3399279)
Diffstat (limited to 'src')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index bea2483..d5fcbfd 100644
--- a/src/util.c
+++ b/src/util.c
@@ -66,7 +66,7 @@ char *formatsize(const off_t from) {
float r = from;
char c = ' ';
if(r < 1000.0f) { }
- else if(r < 1023e3f) { c = 'k'; r/=1024.0f; }
+ else if(r < 1023e3f) { c = 'K'; r/=1024.0f; }
else if(r < 1023e6f) { c = 'M'; r/=1048576.0f; }
else if(r < 1023e9f) { c = 'G'; r/=1073741824.0f; }
else { c = 'T'; r/=1099511627776.0f; }