summaryrefslogtreecommitdiffstats
path: root/posix1e.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-05-04 11:51:56 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-05-04 11:55:07 -0400
commitd40691e31e2674d7d95ec9160b9897805ce3f43b (patch)
tree7b2a6c031a2808e7bc9c94e60c708595e3d7e7a8 /posix1e.c
parentd61c4ed8551e5ef5642f93acec0b5c3f84ebede9 (diff)
downloadbfs-d40691e31e2674d7d95ec9160b9897805ce3f43b.tar.xz
stat: Unify the flags arguments
Diffstat (limited to 'posix1e.c')
-rw-r--r--posix1e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix1e.c b/posix1e.c
index 00bff10..a898b39 100644
--- a/posix1e.c
+++ b/posix1e.c
@@ -44,7 +44,7 @@ static const char *open_path(const struct BFTW *ftwbuf, int *fd) {
// /proc/self/fd/<fd> to cap_get_path(). Inspired by
// https://android.googlesource.com/platform/bionic/+/2825f10b7f61558c264231a536cf3affc0d84204
int flags = O_PATH;
- if (ftwbuf->at_flags & AT_SYMLINK_NOFOLLOW) {
+ if (ftwbuf->stat_flags & BFS_STAT_NOFOLLOW) {
flags |= O_NOFOLLOW;
}