* src/chroot.c (main): quote the passed argument,
to avoid confusing error messages.
---
src/chroot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chroot.c b/src/chroot.c
index f44cec5..42b4501 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"));
--
2.4.1