summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-10-13 10:07:43 +0000
committerjkh <jkh@FreeBSD.org>1998-10-13 10:07:43 +0000
commit72bb4a07e1421d05276a5a6bd671ca7a008d8fda (patch)
treeeb55c7c5d0909dbf6415cc66533bc5ad423239a2 /usr.sbin
parent54b4310518b426534edcc9a4a3ad9026489396fc (diff)
downloadFreeBSD-src-72bb4a07e1421d05276a5a6bd671ca7a008d8fda.zip
FreeBSD-src-72bb4a07e1421d05276a5a6bd671ca7a008d8fda.tar.gz
fix brainos in earlier commit.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/install.c8
-rw-r--r--usr.sbin/sysinstall/install.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 2332ddf..c2709b1 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/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.214 1998/10/12 23:45:06 jkh Exp $
+ * $Id: install.c,v 1.215 1998/10/12 23:47:50 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -354,16 +354,16 @@ installFixitFloppy(dialogMenuItem *self)
while (1) {
msgConfirm("Please insert a writable fixit floppy and press return");
mediaDevice->private = "/mnt2";
- if (!mediaDevice->init(&mediaDevice)) {
+ if (!mediaDevice->init(mediaDevice)) {
if (msgYesNo("The attempt to mount the fixit floppy failed, bad floppy\n"
- "or unclean filesystem. Do you want to try again?")
+ "or unclean filesystem. Do you want to try again?"))
return DITEM_FAILURE;
}
}
if (!directory_exists("/tmp"))
(void)symlink("/mnt2/tmp", "/tmp");
fixit_common();
- mediaDevice->shutdown(&mediaDevice);
+ mediaDevice->shutdown(mediaDevice);
mediaDevice = NULL;
msgConfirm("Please remove the fixit floppy now.");
return DITEM_SUCCESS;
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 2332ddf..c2709b1 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.214 1998/10/12 23:45:06 jkh Exp $
+ * $Id: install.c,v 1.215 1998/10/12 23:47:50 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -354,16 +354,16 @@ installFixitFloppy(dialogMenuItem *self)
while (1) {
msgConfirm("Please insert a writable fixit floppy and press return");
mediaDevice->private = "/mnt2";
- if (!mediaDevice->init(&mediaDevice)) {
+ if (!mediaDevice->init(mediaDevice)) {
if (msgYesNo("The attempt to mount the fixit floppy failed, bad floppy\n"
- "or unclean filesystem. Do you want to try again?")
+ "or unclean filesystem. Do you want to try again?"))
return DITEM_FAILURE;
}
}
if (!directory_exists("/tmp"))
(void)symlink("/mnt2/tmp", "/tmp");
fixit_common();
- mediaDevice->shutdown(&mediaDevice);
+ mediaDevice->shutdown(mediaDevice);
mediaDevice = NULL;
msgConfirm("Please remove the fixit floppy now.");
return DITEM_SUCCESS;
OpenPOWER on IntegriCloud