summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/floppy.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-18 16:37:15 +0000
committerjkh <jkh@FreeBSD.org>1997-01-18 16:37:15 +0000
commit870186b0494583b544c0a486ce63fadf8c1435ac (patch)
treeda692ed687dce43dd5d0b5105ec2933d01c7741e /usr.sbin/sysinstall/floppy.c
parenteb0ff1925c0f48f6d92c1a96bcde0acef654e5d1 (diff)
downloadFreeBSD-src-870186b0494583b544c0a486ce63fadf8c1435ac.zip
FreeBSD-src-870186b0494583b544c0a486ce63fadf8c1435ac.tar.gz
Implement compiled-in config file handling a little better - now
that there's no filesystem on the boot.flp image we need to prompt for the configuration floppy.
Diffstat (limited to 'usr.sbin/sysinstall/floppy.c')
-rw-r--r--usr.sbin/sysinstall/floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/floppy.c b/usr.sbin/sysinstall/floppy.c
index b585016..c146f49 100644
--- a/usr.sbin/sysinstall/floppy.c
+++ b/usr.sbin/sysinstall/floppy.c
@@ -128,7 +128,7 @@ mediaInitFloppy(Device *dev)
msgDebug("Init floppy called for %s distribution.\n", distWanted ? distWanted : "some");
if (!distWanted)
msgConfirm("Please insert floppy for %s", dev->description);
- else if (distWanted != (char *)1) /* 1 is kludge for "don't ask!" */
+ else
msgConfirm("Please insert floppy containing %s for %s", distWanted, dev->description);
memset(&dosargs, 0, sizeof dosargs);
OpenPOWER on IntegriCloud