global cleanup to use the new syscall interface
[musl] / src / stat / fchmod.c
index 9189738..f9b9936 100644 (file)
@@ -3,5 +3,5 @@
 
 int fchmod(int fd, mode_t mode)
 {
-       return syscall2(__NR_fchmod, fd, mode);
+       return syscall(SYS_fchmod, fd, mode);
 }