diff options
Diffstat (limited to 'io/fts.c')
-rw-r--r-- | io/fts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io/fts.c b/io/fts.c index 5ba202b8aa..11c5707d4c 100644 --- a/io/fts.c +++ b/io/fts.c @@ -654,7 +654,7 @@ fts_build(sp, type) */ cderrno = 0; if (nlinks || type == BREAD) { - if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { + if (fts_safe_changedir(sp, cur, __dirfd(dirp), NULL)) { if (nlinks && type == BREAD) cur->fts_errno = errno; cur->fts_flags |= FTS_DONTCHDIR; |