about summary refs log tree commit diff
path: root/src/stat/fchmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/fchmod.c')
-rw-r--r--src/stat/fchmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/fchmod.c b/src/stat/fchmod.c
index 91897383..f9b99366 100644
--- a/src/stat/fchmod.c
+++ b/src/stat/fchmod.c
@@ -3,5 +3,5 @@
 
 int fchmod(int fd, mode_t mode)
 {
-	return syscall2(__NR_fchmod, fd, mode);
+	return syscall(SYS_fchmod, fd, mode);
 }