X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Flinux%2Fchroot.c;h=82b4fe75c6bd183aec7b95caa3ff00826f35ecf2;hp=b5af62dcf3b8fe7241baae47c83ea28f5ce43efb;hb=aa398f56fa398f2202b04e82c67f822f3233786f;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;ds=sidebyside diff --git a/src/linux/chroot.c b/src/linux/chroot.c index b5af62dc..82b4fe75 100644 --- a/src/linux/chroot.c +++ b/src/linux/chroot.c @@ -1,8 +1,7 @@ #include -#define SYSCALL_STANDALONE #include "syscall.h" int chroot(const char *path) { - return syscall1(__NR_chroot, (long)path); + return syscall(SYS_chroot, path); }