summaryrefslogtreecommitdiffstats
path: root/usr.bin/du
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-03-24 06:25:32 +0000
committermharo <mharo@FreeBSD.org>2000-03-24 06:25:32 +0000
commitfea136fdfea975ac69800f7e0699c897102958bd (patch)
treec359cbd3406578c1a7fc2edc7938c5844c6f1973 /usr.bin/du
parenta553c0f5cf58cf1d2115e6e2444262a57d42bae8 (diff)
downloadFreeBSD-src-fea136fdfea975ac69800f7e0699c897102958bd.zip
FreeBSD-src-fea136fdfea975ac69800f7e0699c897102958bd.tar.gz
fix bug with du -hd
Submitted by: dcs
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 6865ad1..9500a1b 100644
--- a/usr.bin/du/du.c
+++ b/usr.bin/du/du.c
@@ -231,7 +231,7 @@ main(argc, argv)
if (p->fts_level <= depth)
if (hflag) {
- (void) prthumanval(howmany(savednumber, blocksize));
+ (void) prthumanval(howmany(p->fts_number, blocksize));
(void) printf("\t%s\n", p->fts_path);
} else {
(void) printf("%ld\t%s\n",
OpenPOWER on IntegriCloud