diff options
author | Rob Landley <rob@landley.net> | 2013-08-18 14:04:18 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-08-18 14:04:18 -0500 |
commit | 2fed34c0a881749fa84be346e051d4bfbe410fa0 (patch) | |
tree | 35eec79ecb0953590fb838f45c2d2a12181395df /toys | |
parent | d364e141c112efba37882001a49da77d90da28a4 (diff) | |
download | toybox-2fed34c0a881749fa84be346e051d4bfbe410fa0.tar.gz |
Fix wrong printf type.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/du.c | 2 |
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; |