global cleanup to use the new syscall interface
[musl] / src / linux / chroot.c
index b5af62d..82b4fe7 100644 (file)
@@ -1,8 +1,7 @@
 #include <unistd.h>
-#define SYSCALL_STANDALONE
 #include "syscall.h"
 
 int chroot(const char *path)
 {
-       return syscall1(__NR_chroot, (long)path);
+       return syscall(SYS_chroot, path);
 }