summaryrefslogtreecommitdiff
path: root/src/stat/fstatat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/fstatat.c')
-rw-r--r--src/stat/fstatat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/stat/fstatat.c b/src/stat/fstatat.c
index 74c51cf5..9eed063b 100644
--- a/src/stat/fstatat.c
+++ b/src/stat/fstatat.c
@@ -36,6 +36,7 @@ static int fstatat_statx(int fd, const char *restrict path, struct stat *restric
{
struct statx stx;
+ flag |= AT_NO_AUTOMOUNT;
int ret = __syscall(SYS_statx, fd, path, flag, 0x7ff, &stx);
if (ret) return ret;
@@ -151,7 +152,3 @@ int __fstatat(int fd, const char *restrict path, struct stat *restrict st, int f
}
weak_alias(__fstatat, fstatat);
-
-#if !_REDIR_TIME64
-weak_alias(fstatat, fstatat64);
-#endif