diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-12 05:17:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-12 05:17:34 +0000 |
commit | 937c9a0f84db15a0a64ed0419a42da3a34d96cde (patch) | |
tree | b6b3bfb6f6bbc506426154fc8294316054abb45f /usr.bin/du/du.c | |
parent | 4e5dd980fd1238d635621b9bba7d99533aababd6 (diff) |
first pass at a -Wall cleanup
Diffstat (limited to 'usr.bin/du/du.c')
-rw-r--r-- | usr.bin/du/du.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 9fb19af78f3..606267a6600 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -1,4 +1,4 @@ -/* $OpenBSD: du.c,v 1.8 2001/05/02 23:26:53 pjanzen Exp $ */ +/* $OpenBSD: du.c,v 1.9 2001/07/12 05:17:00 deraadt Exp $ */ /* $NetBSD: du.c,v 1.11 1996/10/18 07:20:35 thorpej Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)du.c 8.5 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: du.c,v 1.8 2001/05/02 23:26:53 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: du.c,v 1.9 2001/07/12 05:17:00 deraadt Exp $"; #endif #endif /* not lint */ @@ -299,7 +299,7 @@ prtout(size, path, hflag) double bytes; if (!hflag) - (void)printf("%qd\t%s\n", size, path); + (void)printf("%lld\t%s\n", (long long)size, path); else { bytes = (double)size * 512.0; unit = unit_adjust(&bytes); |