aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/du.c b/toys/posix/du.c
index 7efc4164..96922bca 100644
--- a/toys/posix/du.c
+++ b/toys/posix/du.c
@@ -63,7 +63,7 @@ static void print(long long size, struct dirtree *node)
if (sz < 10) {
sprintf(buf, "%llu", size>>(10*(index-1)));
printf("%c.%c", buf[0], buf[1]);
- } else printf("%llu", sz);
+ } else printf("%d", sz);
if (index) printf("%c", " KMGTPE"[index]);
} else {
int bits = 10;