summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-03-17 22:56:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-03-17 22:56:25 +0000
commit7bc96a0789e0b95bbb398c07bc15cb8c7d0d51b9 (patch)
tree0c6bb10e1b40bff232d558e756fdba8eaf464b15
parent8628fd96fcf58865570da4259f5f83f4e871d66c (diff)
do not toast later swdevt[] entries
-rw-r--r--sys/arch/sparc/sparc/autoconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index 208c7bf6bf7..a579bd430d5 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.29 1999/01/11 05:11:58 millert Exp $ */
+/* $OpenBSD: autoconf.c,v 1.30 1999/03/17 22:56:24 deraadt Exp $ */
/* $NetBSD: autoconf.c,v 1.73 1997/07/29 09:41:53 fair Exp $ */
/*
@@ -1950,7 +1950,7 @@ gotswap:
rootdev = nrootdev;
dumpdev = nswapdev;
swdevt[0].sw_dev = nswapdev;
- swdevt[1].sw_dev = NODEV;
+ /* swdevt[1].sw_dev = NODEV; */
} else if (mountroot == NULL) {
@@ -1976,7 +1976,7 @@ gotswap:
nswapdev = dumpdev = NODEV;
}
swdevt[0].sw_dev = nswapdev;
- swdevt[1].sw_dev = NODEV;
+ /* swdevt[1].sw_dev = NODEV; */
} else {