From 2fed34c0a881749fa84be346e051d4bfbe410fa0 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 18 Aug 2013 14:04:18 -0500 Subject: Fix wrong printf type. --- toys/posix/du.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/du.c') 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; -- cgit v1.2.3