summaryrefslogtreecommitdiffstats
path: root/usr.bin/du
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-07-28 16:03:13 +0000
committerstefanf <stefanf@FreeBSD.org>2004-07-28 16:03:13 +0000
commit7cdc27d942c90c6de3bea3b6dc6c8a1872052e2b (patch)
tree396dd4540ec06a7738f7f49b42efaf5f6f7d8181 /usr.bin/du
parentd0c237fd3c8db61a5ea4108aed735fe3198d27e3 (diff)
downloadFreeBSD-src-7cdc27d942c90c6de3bea3b6dc6c8a1872052e2b.zip
FreeBSD-src-7cdc27d942c90c6de3bea3b6dc6c8a1872052e2b.tar.gz
Use the length modifier 'll' instead of 'q' to print long longs.
Diffstat (limited to 'usr.bin/du')
-rw-r--r--usr.bin/du/du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c
index b86c180..ce27432 100644
--- a/usr.bin/du/du.c
+++ b/usr.bin/du/du.c
@@ -259,7 +259,7 @@ main(int argc, char *argv[])
blocksize));
(void) printf("\t%s\n", p->fts_path);
} else {
- (void) printf("%qd\t%s\n",
+ (void) printf("%lld\t%s\n",
(long long)howmany(p->fts_statp->st_blocks, blocksize),
p->fts_path);
}
OpenPOWER on IntegriCloud