global cleanup to use the new syscall interface
[musl] / src / stat / fchmodat.c
index f4f22b2..61d3206 100644 (file)
@@ -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);
 }