aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-10-13 10:07:43 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-10-13 10:07:43 +0000
commit88f416c601d42d49fb4f13abee6ec2faae2e4c00 (patch)
treed57806527bc3dcd4abf4aa7c4e82e3d13abffdea /usr.sbin
parent24f6ecd409f4f67af708210469ba7685e9d8b9e9 (diff)
downloadsrc-88f416c601d42d49fb4f13abee6ec2faae2e4c00.tar.gz
src-88f416c601d42d49fb4f13abee6ec2faae2e4c00.zip
fix brainos in earlier commit.
Notes
Notes: svn path=/head/; revision=40299
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 2332ddf7fb6d..c2709b14354a 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 2332ddf7fb6d..c2709b14354a 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;