global cleanup to use the new syscall interface
[musl] / src / unistd / chown.c
index b89b173..95f6f61 100644 (file)
@@ -3,5 +3,5 @@
 
 int chown(const char *path, uid_t uid, gid_t gid)
 {
-       return syscall3(__NR_chown, (long)path, uid, gid);
+       return syscall(SYS_chown, path, uid, gid);
 }