diff options
| author | Brian Somers <brian@FreeBSD.org> | 2001-07-09 09:24:06 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2001-07-09 09:24:06 +0000 |
| commit | 7bc6d0158f0e9863a2a13a951321185d214cd3be (patch) | |
| tree | a109115514a8774e981280efca775db8a410df5b /usr.sbin/chroot | |
| parent | b5b15b9e7fbe55119213a41835516dc91b25e978 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/chroot')
| -rw-r--r-- | usr.sbin/chroot/chroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/chroot/chroot.c b/usr.sbin/chroot/chroot.c index ccd9c493e64d..72f10d5249fb 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 */ } |
