summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-10-17 19:39:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-10-17 19:39:08 +0000
commitaa40fe66b973b6ed8d8c01c9f8e062722bed7cc9 (patch)
tree9ffb2ae358222687b5c7b97e19ae6a84316db833 /sys/arch/amd64
parent1aedf1f434bfdbccfe092d75701eb0f0f52ea0e6 (diff)
swap is partition b, not partition after root (wherever root is defined
to be); pr 5256
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/autoconf.c4
1 files changed, 2 insertions, 2 deletions
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);
}