summaryrefslogtreecommitdiff
path: root/usr.sbin/sade/install.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-07-09 09:24:06 +0000
committerBrian Somers <brian@FreeBSD.org>2001-07-09 09:24:06 +0000
commit7bc6d0158f0e9863a2a13a951321185d214cd3be (patch)
treea109115514a8774e981280efca775db8a410df5b /usr.sbin/sade/install.c
parentb5b15b9e7fbe55119213a41835516dc91b25e978 (diff)
Notes
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r--usr.sbin/sade/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 43dd7025ad37..ae3b7bbb2937 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -446,7 +446,7 @@ fixit_common(void)
/* use the .profile from the fixit medium */
setenv("HOME", "/mnt2", 1);
chdir("/mnt2");
- execlp("sh", "-sh", 0);
+ execlp("sh", "-sh", (char *)0);
msgDebug("fixit shell: Failed to execute shell!\n");
_exit(1);;
}