global cleanup to use the new syscall interface
[musl] / src / unistd / fchown.c
index 6050b77..b05f0be 100644 (file)
@@ -3,5 +3,5 @@
 
 int fchown(int fd, uid_t uid, gid_t gid)
 {
-       return syscall3(__NR_fchown, fd, uid, gid);
+       return syscall(SYS_fchown, fd, uid, gid);
 }