summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/system.c
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1995-05-20 22:47:43 +0000
committergpalmer <gpalmer@FreeBSD.org>1995-05-20 22:47:43 +0000
commit3e05eefc053d45c9931195880e1073ad471c6e36 (patch)
treefa22e3fe5765b35b0ff634c78b6b1b401e9e204f /usr.sbin/sysinstall/system.c
parent582eb7ce217920bf11088127c7da1ba159fa8d2a (diff)
downloadFreeBSD-src-3e05eefc053d45c9931195880e1073ad471c6e36.zip
FreeBSD-src-3e05eefc053d45c9931195880e1073ad471c6e36.tar.gz
#if 0 out PHK's code until we can find a way of making it crunchgen
dependant so that standalone builds aren't hosed.
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
-rw-r--r--usr.sbin/sysinstall/system.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c
index b25888f..a0092aa 100644
--- a/usr.sbin/sysinstall/system.c
+++ b/usr.sbin/sysinstall/system.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: system.c,v 1.22 1995/05/20 13:24:35 jkh Exp $
+ * $Id: system.c,v 1.23 1995/05/20 19:12:13 phk Exp $
*
* Jordan Hubbard
*
@@ -276,6 +276,8 @@ systemChangeScreenmap(const u_char newmap[])
dialog_clear();
}
}
+
+#if 0
/* Execute a command that is crunched into the same binary */
int
vsystem(char *fmt, ...)
@@ -328,10 +330,10 @@ vsystem(char *fmt, ...)
free(cmd);
return i;
}
-
+#else
/* Execute a system command, with varargs */
int
-ssystem(char *fmt, ...)
+vsystem(char *fmt, ...)
{
va_list args;
union wait pstat;
@@ -376,3 +378,4 @@ ssystem(char *fmt, ...)
free(cmd);
return i;
}
+#endif
OpenPOWER on IntegriCloud