summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-05-22 07:30:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-05-22 07:30:58 +0000
commit475ea56d4322fed63898ac9f7d1b62b823ed304d (patch)
tree2164c9f802943c2687048c3c4d4d56ec9abbc326 /sys
parent0f4f4849704a2f54209682e2c6b987c29b9e4fe9 (diff)
1.18 was wrong; vm_swap miniroot recovery fixed
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/autoconf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index 2ffa866d081..6b8cb20832c 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -2015,8 +2015,6 @@ gotswap:
*/
nswapdev = dumpdev = NODEV;
}
- if (nswapdev == rootdev)
- nswapdev = NODEV;
swdevt[0].sw_dev = nswapdev;
swdevt[1].sw_dev = NODEV;