aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-08-18 14:04:18 -0500
committerRob Landley <rob@landley.net>2013-08-18 14:04:18 -0500
commit2fed34c0a881749fa84be346e051d4bfbe410fa0 (patch)
tree35eec79ecb0953590fb838f45c2d2a12181395df /toys/posix
parentd364e141c112efba37882001a49da77d90da28a4 (diff)
downloadtoybox-2fed34c0a881749fa84be346e051d4bfbe410fa0.tar.gz
Fix wrong printf type.
Diffstat (limited to 'toys/posix')
-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;