mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
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:
parent
00e500a2e5
commit
e06cf7dbca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39076
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user