diff options
Diffstat (limited to 'io/fts.c')
-rw-r--r-- | io/fts.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -680,7 +680,7 @@ fts_build (FTSOBJ *sp, int 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; |