about summary refs log tree commit diff
path: root/src/unistd/faccessat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/faccessat.c')
-rw-r--r--src/unistd/faccessat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/faccessat.c b/src/unistd/faccessat.c
index 99a93785..1efbb778 100644
--- a/src/unistd/faccessat.c
+++ b/src/unistd/faccessat.c
@@ -3,5 +3,5 @@
 
 int faccessat(int fd, const char *filename, int amode, int flag)
 {
-	return syscall4(__NR_faccessat, fd, (long)filename, amode, flag);
+	return syscall(SYS_faccessat, fd, filename, amode, flag);
 }