summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/install.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-12-12 04:58:02 +0000
committerjkh <jkh@FreeBSD.org>1999-12-12 04:58:02 +0000
commit5dc2695cfcb184d5382b50e31170898726ed36da (patch)
treebe4b1ca9e1b4f3fe59f94e07b368a81e89037492 /usr.sbin/sysinstall/install.c
parent28076d9c633aacfcaa0c2663ad5af48e79f6730b (diff)
downloadFreeBSD-src-5dc2695cfcb184d5382b50e31170898726ed36da.zip
FreeBSD-src-5dc2695cfcb184d5382b50e31170898726ed36da.tar.gz
I shouldn't have incremented PART_OFF; it was wrong and broke label
display to boot. Also fix some various warning fluff while I'm in here cleaning up.
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r--usr.sbin/sysinstall/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 4bd986d..4ff5cb2 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -749,7 +749,7 @@ installFixupBin(dialogMenuItem *self)
/* Snapshot any boot -c changes back to the new kernel */
cp = variable_get(VAR_KGET);
if (cp && (*cp == 'Y' || *cp == 'y')) {
- if (kstat = kget("/boot/kernel.conf")) {
+ if ((kstat = kget("/boot/kernel.conf")) != NULL) {
msgConfirm("Kernel copied OK, but unable to save boot -c changes\n"
"to it. See the debug screen (ALT-F2) for details.");
}
OpenPOWER on IntegriCloud