summaryrefslogtreecommitdiff
path: root/lib/libc/gen/fts-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/fts-compat.c')
-rw-r--r--lib/libc/gen/fts-compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/fts-compat.c b/lib/libc/gen/fts-compat.c
index c5bf060964c25..72e908cea50fd 100644
--- a/lib/libc/gen/fts-compat.c
+++ b/lib/libc/gen/fts-compat.c
@@ -647,9 +647,9 @@ fts_build(FTS *sp, int type)
*/
#ifdef FTS_WHITEOUT
if (ISSET(FTS_WHITEOUT))
- oflag = DTF_NODUP | DTF_REWIND;
+ oflag = DTF_NODUP;
else
- oflag = DTF_HIDEW | DTF_NODUP | DTF_REWIND;
+ oflag = DTF_HIDEW | DTF_NODUP;
#else
#define __opendir2(path, flag) opendir(path)
#endif