summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot.c b/src/chroot.c
index f44cec51d..42b450178 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -327,7 +327,7 @@ main (int argc, char **argv)
if (chroot (newroot) != 0)
error (EXIT_CANCELED, errno, _("cannot change root directory to %s"),
- newroot);
+ quote (newroot));
if (! skip_chdir && chdir ("/"))
error (EXIT_CANCELED, errno, _("cannot chdir to root directory"));