summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/system.c
diff options
context:
space:
mode:
authorrandi <randi@FreeBSD.org>2010-06-11 20:56:40 +0000
committerrandi <randi@FreeBSD.org>2010-06-11 20:56:40 +0000
commit562fa6d72241d0f2d235613ea0772e60b54d7235 (patch)
tree0c56849046a78b11d918c0d1fef033537af36f52 /usr.sbin/sysinstall/system.c
parent9858f3bc4c35be50f67da27521c73f26b6b6bd3a (diff)
downloadFreeBSD-src-562fa6d72241d0f2d235613ea0772e60b54d7235.zip
FreeBSD-src-562fa6d72241d0f2d235613ea0772e60b54d7235.tar.gz
Make sysinstall WARNS=2 clean.
Approved by: cperciva (mentor) MFC after: 1 month
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
-rw-r--r--usr.sbin/sysinstall/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c
index a0e60d0..ce1aa4b 100644
--- a/usr.sbin/sysinstall/system.c
+++ b/usr.sbin/sysinstall/system.c
@@ -524,7 +524,7 @@ systemCreateHoloshell(void)
printf("Type ``exit'' in this fixit shell to resume sysinstall.\n\n");
fflush(stdout);
}
- execlp("sh", "-sh", 0);
+ execlp("sh", "-sh", NULL);
msgDebug("Was unable to execute sh for Holographic shell!\n");
exit(1);
}
OpenPOWER on IntegriCloud