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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/fstatat.c b/src/stat/fstatat.c
index e39f833b..d6b9390c 100644
--- a/src/stat/fstatat.c
+++ b/src/stat/fstatat.c
@@ -4,7 +4,7 @@
int fstatat(int fd, const char *path, struct stat *buf, int flag)
{
- return syscall4(__NR_fstatat, fd, (long)path, (long)buf, flag);
+ return syscall(SYS_fstatat, fd, path, buf, flag);
}
LFS64(fstatat);