summaryrefslogtreecommitdiff
path: root/src/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot.c')
-rw-r--r--src/chroot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot.c b/src/chroot.c
index 299acbcbf..1eb443c24 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -93,9 +93,9 @@ main (int argc, char **argv)
/* No command. Run an interactive shell. */
char *shell = getenv ("SHELL");
if (shell == NULL)
- shell = "/bin/sh";
+ shell = bad_cast ("/bin/sh");
argv[0] = shell;
- argv[1] = "-i";
+ argv[1] = bad_cast ("-i");
argv[2] = NULL;
}
else