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];
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to