diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 4c75b70a37e8..041c1a619b42 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -214,7 +214,7 @@ main(argc, argv) p->fts_parent->fts_number += p->fts_statp->st_blocks; } - savednumber = p->fts_number; + savednumber = p->fts_parent->fts_number; } if (errno)