From 7bc96a0789e0b95bbb398c07bc15cb8c7d0d51b9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 17 Mar 1999 22:56:25 +0000 Subject: do not toast later swdevt[] entries --- sys/arch/sparc/sparc/autoconf.c | 6 +++--- 1 file 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 { -- cgit v1.2.3