summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/floppy.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-17 08:47:13 +0000
committerjkh <jkh@FreeBSD.org>1997-01-17 08:47:13 +0000
commit01b3e9a58be60d613a1575a5cd4341ab143f4ad3 (patch)
tree1d6cafcedb59c96ea3e9343e95b8c4dc482c6a3b /usr.sbin/sysinstall/floppy.c
parent83c2f5687e154ea6600cc012b5003a582b4f0dee (diff)
downloadFreeBSD-src-01b3e9a58be60d613a1575a5cd4341ab143f4ad3.zip
FreeBSD-src-01b3e9a58be60d613a1575a5cd4341ab143f4ad3.tar.gz
Now that I know which parts of the installation really need it (since
there's no menu display bug to work around now), be far more selective in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
Diffstat (limited to 'usr.sbin/sysinstall/floppy.c')
-rw-r--r--usr.sbin/sysinstall/floppy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/floppy.c b/usr.sbin/sysinstall/floppy.c
index bc5b632..b585016 100644
--- a/usr.sbin/sysinstall/floppy.c
+++ b/usr.sbin/sysinstall/floppy.c
@@ -161,7 +161,8 @@ mediaGetFloppy(Device *dev, char *file, Boolean probe)
snprintf(buf, PATH_MAX, "/dist/%s", file);
- msgDebug("Request for %s from floppy on /dist, probe is %d.\n", buf, probe);
+ if (isDebug())
+ msgDebug("Request for %s from floppy on /dist, probe is %d.\n", buf, probe);
if (!file_readable(buf)) {
if (probe)
return NULL;
OpenPOWER on IntegriCloud