global cleanup to use the new syscall interface
[musl] / src / linux / chroot.c
index 81363a6..82b4fe7 100644 (file)
@@ -3,5 +3,5 @@
 
 int chroot(const char *path)
 {
-       return syscall1(__NR_chroot, (long)path);
+       return syscall(SYS_chroot, path);
 }