svn commit: r326790 - stable/10/usr.bin/find
Xin LI
delphij at FreeBSD.org
Tue Dec 12 04:08:31 UTC 2017
Author: delphij
Date: Tue Dec 12 04:08:30 2017
New Revision: 326790
URL: https://svnweb.freebsd.org/changeset/base/326790
Log:
Revert r326763. The change depends on r264387 which was not merged.
Pointy hat to: delphij
Modified:
stable/10/usr.bin/find/function.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/usr.bin/find/function.c
==============================================================================
--- stable/10/usr.bin/find/function.c Tue Dec 12 03:16:10 2017 (r326789)
+++ stable/10/usr.bin/find/function.c Tue Dec 12 04:08:30 2017 (r326790)
@@ -896,13 +896,8 @@ f_fstype(PLAN *plan, FTSENT *entry)
} else
p = NULL;
- if (statfs(entry->fts_accpath, &sb)) {
- if (!ignore_readdir_race || errno != ENOENT) {
- warn("statfs: %s", entry->fts_accpath);
- exitstatus = 1;
- }
- return 0;
- }
+ if (statfs(entry->fts_accpath, &sb))
+ err(1, "%s", entry->fts_accpath);
if (p) {
p[0] = save[0];
More information about the svn-src-stable
mailing list