diff options
author | phk <phk@FreeBSD.org> | 1995-05-20 23:33:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-05-20 23:33:14 +0000 |
commit | 1a410e1dc43e989b4ce83948c13a278a909ed27c (patch) | |
tree | 480e6d73ee014db828c14805fe6e669011278a52 /usr.sbin/sysinstall/system.c | |
parent | 3e05eefc053d45c9931195880e1073ad471c6e36 (diff) | |
download | FreeBSD-src-1a410e1dc43e989b4ce83948c13a278a909ed27c.zip FreeBSD-src-1a410e1dc43e989b4ce83948c13a278a909ed27c.tar.gz |
Now cpio works for me. (it was Mostly confusion about when the chroot
happened)
Make vsystem crunch aware in an intelligent fashion.
make the boot.flp target more specific (and faster).
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
-rw-r--r-- | usr.sbin/sysinstall/system.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index a0092aa..4bdc8ca 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/system.c @@ -276,12 +276,10 @@ systemChangeScreenmap(const u_char newmap[]) dialog_clear(); } } - -#if 0 -/* Execute a command that is crunched into the same binary */ int vsystem(char *fmt, ...) { +#ifdef CRUNCHED_BINARY va_list args; union wait pstat; pid_t pid; @@ -329,12 +327,7 @@ vsystem(char *fmt, ...) msgDebug("Command `%s' returns status of %d\n", cmd, i); free(cmd); return i; -} -#else -/* Execute a system command, with varargs */ -int -vsystem(char *fmt, ...) -{ +#else /* Not crunched */ va_list args; union wait pstat; pid_t pid; @@ -377,5 +370,5 @@ vsystem(char *fmt, ...) msgDebug("Command `%s' returns status of %d\n", cmd, i); free(cmd); return i; -} #endif +} |