summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/installboot/installboot.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-28 10:06:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-28 10:06:35 +0000
commit9c3b78145c26ad6c3331133caeae47f4e1cabf5e (patch)
tree7df83ad87cf240da8e7f746d2636a50e52fbf40f /sys/arch/i386/stand/installboot/installboot.c
parent01c5e1836fccd528eccaa2ffe73ca4254d109720 (diff)
use RAW_PART, not 0
Diffstat (limited to 'sys/arch/i386/stand/installboot/installboot.c')
-rw-r--r--sys/arch/i386/stand/installboot/installboot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c
index 9d46a2128b3..6ae7d4667c8 100644
--- a/sys/arch/i386/stand/installboot/installboot.c
+++ b/sys/arch/i386/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.25 1997/10/26 02:41:19 mickey Exp $ */
+/* $OpenBSD: installboot.c,v 1.26 1997/10/28 10:06:34 deraadt Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -188,8 +188,8 @@ main(argc, argv)
mib[2] = sb.st_rdev;
size = sizeof(devno);
if(sysctl(mib, 3, &devno, &size, NULL, 0) >= 0) {
- devno = MAKEBOOTDEV(major(devno),0,0,DISKUNIT(devno),0);
-
+ devno = MAKEBOOTDEV(major(devno), 0, 0,
+ DISKUNIT(devno), RAW_PART);
mib[0] = CTL_MACHDEP;
mib[1] = CPU_BIOS;
mib[2] = BIOS_DISKINFO;