summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-02-15 00:49:33 +0000
committerjkh <jkh@FreeBSD.org>1999-02-15 00:49:33 +0000
commit6f4aa554d0cbd0b9df16c4e1523fb957b26cd401 (patch)
tree2012f63a47953fbde3a3f7f1efb0e1a84da36843 /usr.sbin/sade/system.c
parente504062bce0ba314c8fa2b49f6bd5387dbabed60 (diff)
downloadFreeBSD-src-6f4aa554d0cbd0b9df16c4e1523fb957b26cd401.zip
FreeBSD-src-6f4aa554d0cbd0b9df16c4e1523fb957b26cd401.tar.gz
Unbreak the fixit floppy.
Clean up some of the media handling to use common routines.
Diffstat (limited to 'usr.sbin/sade/system.c')
-rw-r--r--usr.sbin/sade/system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c
index ee0aba0..f916555 100644
--- a/usr.sbin/sade/system.c
+++ b/usr.sbin/sade/system.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: system.c,v 1.89 1999/02/09 22:18:10 jkh Exp $
+ * $Id: system.c,v 1.90 1999/02/14 21:26:29 jkh Exp $
*
* Jordan Hubbard
*
@@ -146,8 +146,8 @@ void
systemShutdown(int status)
{
/* If some media is open, close it down */
- if (status >=0 && mediaDevice)
- mediaDevice->shutdown(mediaDevice);
+ if (status >=0)
+ mediaClose();
/* write out any changes to rc.conf .. */
configRC_conf();
OpenPOWER on IntegriCloud