add getifaddrs
[oweals/musl.git] / src / linux / chroot.c
index 81363a6b48b2e157967531fcf6565d99c1261886..82b4fe75c6bd183aec7b95caa3ff00826f35ecf2 100644 (file)
@@ -3,5 +3,5 @@
 
 int chroot(const char *path)
 {
-       return syscall1(__NR_chroot, (long)path);
+       return syscall(SYS_chroot, path);
 }