summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/autoconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c
index 9d71f6ce610..9f133d9d2e7 100644
--- a/sys/arch/i386/i386/autoconf.c
+++ b/sys/arch/i386/i386/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.66 2006/10/17 19:39:06 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.67 2006/10/29 18:46:52 kettenis Exp $ */
/* $NetBSD: autoconf.c,v 1.20 1996/05/03 19:41:56 christos Exp $ */
/*-
@@ -492,5 +492,5 @@ rootconf(void)
}
if (mountroot == dk_mountroot)
swdevt[0].sw_dev = argdev = dumpdev =
- makedev(major(rootdev), 1);
+ MAKEDISKDEV(major(rootdev), DISKUNIT(rootdev), 1);
}