aboutsummaryrefslogtreecommitdiffstats
path: root/guts/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/chroot.c')
-rw-r--r--guts/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/guts/chroot.c b/guts/chroot.c
index 5f68482..14f5043 100644
--- a/guts/chroot.c
+++ b/guts/chroot.c
@@ -4,7 +4,7 @@
* int rc = -1;
*/
pseudo_debug(2, "chroot: %s\n", path);
- if (!pseudo_client_op(OP_CHROOT, -1, -1, path, 0)) {
+ if (!pseudo_client_op(OP_CHROOT, 0, -1, -1, path, 0)) {
pseudo_debug(1, "chroot failed: %s\n", strerror(errno));
rc = -1;
} else {