From aa40fe66b973b6ed8d8c01c9f8e062722bed7cc9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 17 Oct 2006 19:39:08 +0000 Subject: swap is partition b, not partition after root (wherever root is defined to be); pr 5256 --- sys/arch/amd64/amd64/autoconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64') diff --git a/sys/arch/amd64/amd64/autoconf.c b/sys/arch/amd64/amd64/autoconf.c index 29fd3925c2f..80829678ca1 100644 --- a/sys/arch/amd64/amd64/autoconf.c +++ b/sys/arch/amd64/amd64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.14 2006/05/28 14:58:14 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.15 2006/10/17 19:39:07 deraadt Exp $ */ /* $NetBSD: autoconf.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */ /*- @@ -495,5 +495,5 @@ rootconf() } if (mountroot == dk_mountroot) swdevt[0].sw_dev = argdev = dumpdev = - makedev(major(rootdev), minor(rootdev) + 1); + makedev(major(rootdev), 1); } -- cgit v1.2.3