summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/floppy.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-03-02 07:31:58 +0000
committerjkh <jkh@FreeBSD.org>1996-03-02 07:31:58 +0000
commitce1a5be6897e107d2762d51c2cb3c49ea6ad3aa7 (patch)
treebe0a959e707248fd0c14448975fefdb7ebc40040 /usr.sbin/sysinstall/floppy.c
parent27eac390dd8c7d4b30209f36c1d1a84103ed11ca (diff)
downloadFreeBSD-src-ce1a5be6897e107d2762d51c2cb3c49ea6ad3aa7.zip
FreeBSD-src-ce1a5be6897e107d2762d51c2cb3c49ea6ad3aa7.tar.gz
Miscellaneous cleanup before big round of menu restructuring (to use new
libdialog features).
Diffstat (limited to 'usr.sbin/sysinstall/floppy.c')
-rw-r--r--usr.sbin/sysinstall/floppy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/floppy.c b/usr.sbin/sysinstall/floppy.c
index f4512a2..6f0c9d9 100644
--- a/usr.sbin/sysinstall/floppy.c
+++ b/usr.sbin/sysinstall/floppy.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: floppy.c,v 1.7.2.8 1995/10/22 17:39:07 jkh Exp $
+ * $Id: floppy.c,v 1.8 1995/12/07 10:33:46 peter Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -165,7 +165,7 @@ mediaInitFloppy(Device *dev)
}
int
-mediaGetFloppy(Device *dev, char *file, Boolean tentative)
+mediaGetFloppy(Device *dev, char *file, Boolean probe)
{
char buf[PATH_MAX];
int fd;
@@ -173,9 +173,9 @@ mediaGetFloppy(Device *dev, char *file, Boolean tentative)
snprintf(buf, PATH_MAX, "/dist/%s", file);
- msgDebug("Request for %s from floppy on /dist, tentative is %d.\n", buf, tentative);
+ msgDebug("Request for %s from floppy on /dist, probe is %d.\n", buf, probe);
if (!file_readable(buf)) {
- if (tentative)
+ if (probe)
return -1;
else {
while (!file_readable(buf)) {
OpenPOWER on IntegriCloud