about summary refs log tree commit diff
path: root/src/linux/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/chroot.c')
-rw-r--r--src/linux/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/chroot.c b/src/linux/chroot.c
index 81363a6b..82b4fe75 100644
--- a/src/linux/chroot.c
+++ b/src/linux/chroot.c
@@ -3,5 +3,5 @@
 
 int chroot(const char *path)
 {
-	return syscall1(__NR_chroot, (long)path);
+	return syscall(SYS_chroot, path);
 }