Print correct total for -c option (previously, the total for the last

directory scanned was printed instead of the real total)

PR:		bin/7896
Submitted by:	Zach Heilig <zach@gaffaneys.com>
This commit is contained in:
Dag-Erling Smørgrav 1998-09-11 15:53:08 +00:00
parent 00e500a2e5
commit e06cf7dbca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39076

View File

@ -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)