From 6491ecd71a0b7e46e7a85894f18dfee835d15e3c Mon Sep 17 00:00:00 2001 From: markm Date: Thu, 17 Jun 1999 19:04:56 +0000 Subject: Add bits of PAO that are non-controversial. Submitted by: Tatsumi HOSOKAWA --- usr.sbin/sysinstall/install.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr.sbin/sysinstall/install.c') diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index c037b50..9e97459 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.236 1999/05/12 09:02:35 jkh Exp $ + * $Id: install.c,v 1.237 1999/05/27 10:32:47 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -728,8 +728,9 @@ installFixupBin(dialogMenuItem *self) if (RunningAsInit) { /* Fix up kernel first */ if (!file_readable("/kernel")) { - if (file_readable("/kernel.GENERIC")) { - if (vsystem("cp -p /kernel.GENERIC /kernel")) { + char *generic_kernel = "/kernel.GENERIC"; + if (file_readable(generic_kernel)) { + if (vsystem("cp -p %s /kernel", generic_kernel)) { msgConfirm("Unable to copy /kernel into place!"); return DITEM_FAILURE; } -- cgit v1.1