summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chroot/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/chroot/chroot.c')
-rw-r--r--usr.sbin/chroot/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/chroot/chroot.c b/usr.sbin/chroot/chroot.c
index ccd9c49..72f10d5 100644
--- a/usr.sbin/chroot/chroot.c
+++ b/usr.sbin/chroot/chroot.c
@@ -86,7 +86,7 @@ main(argc, argv)
if (!(shell = getenv("SHELL")))
shell = _PATH_BSHELL;
- execlp(shell, shell, "-i", NULL);
+ execlp(shell, shell, "-i", (char *)NULL);
err(1, "%s", shell);
/* NOTREACHED */
}
OpenPOWER on IntegriCloud