summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/fd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-20 12:24:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-20 12:24:18 +0000
commitba32684a1bccbb5f8abcb225270f46464dd09487 (patch)
treed0fd97e767c1ba6d5645860d83a900959194da74 /sys/arch/sparc/dev/fd.c
parent368f2563442aa9458b80b13b738a9d07ca99bd9e (diff)
only eject root floppies
Diffstat (limited to 'sys/arch/sparc/dev/fd.c')
-rw-r--r--sys/arch/sparc/dev/fd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c
index 9597bb47ebc..5abf64edaca 100644
--- a/sys/arch/sparc/dev/fd.c
+++ b/sys/arch/sparc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.21 1997/08/25 08:38:44 downsj Exp $ */
+/* $OpenBSD: fd.c,v 1.22 1997/09/20 12:24:17 deraadt Exp $ */
/* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */
/*-
@@ -1855,9 +1855,9 @@ fd_mountroot_hook(dev)
{
int c;
- fd_do_eject((struct fd_softc *)dev);
-
if (dev) {
+ fd_do_eject((struct fd_softc *)dev);
+
printf("Insert filesystem floppy and press return.");
for (;;) {
c = cngetc();