summaryrefslogtreecommitdiff
path: root/src/stat/fchmodat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/fchmodat.c')
-rw-r--r--src/stat/fchmodat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/fchmodat.c b/src/stat/fchmodat.c
index f4f22b2c..61d32065 100644
--- a/src/stat/fchmodat.c
+++ b/src/stat/fchmodat.c
@@ -3,5 +3,5 @@
int fchmodat(int fd, const char *path, mode_t mode, int flag)
{
- return syscall4(__NR_fchmodat, fd, (long)path, mode, flag);
+ return syscall(SYS_fchmodat, fd, path, mode, flag);
}