aboutsummaryrefslogtreecommitdiff
path: root/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'chroot.c')
-rw-r--r--chroot.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/chroot.c b/chroot.c
index 1c64e08a9..95aed3d17 100644
--- a/chroot.c
+++ b/chroot.c
@@ -47,8 +47,7 @@ int chroot_main(int argc, char **argv)
argv++;
if (chroot(*argv) || (chdir("/"))) {
- fatalError("chroot: cannot change root directory to %s: %s\n",
- *argv, strerror(errno));
+ fatalError("cannot change root directory to %s: %s\n", *argv, strerror(errno));
}
argc--;
@@ -62,8 +61,7 @@ int chroot_main(int argc, char **argv)
prog = "/bin/sh";
execlp(prog, prog, NULL);
}
- fatalError("chroot: cannot execute %s: %s\n",
- prog, strerror(errno));
+ fatalError("cannot execute %s: %s\n", prog, strerror(errno));
}