summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/pc98/boot2/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/pc98/boot2/disk.c b/sys/boot/pc98/boot2/disk.c
index f892c27..835fff0 100644
--- a/sys/boot/pc98/boot2/disk.c
+++ b/sys/boot/pc98/boot2/disk.c
@@ -103,7 +103,7 @@ devopen(void)
dptr = (struct pc98_partition *)p;
slice = WHOLE_DISK_SLICE;
for (i = 0; i < NDOSPART; i++, dptr++)
- if (dptr->dp_mid == DOSPTYP_386BSD) {
+ if (dptr->dp_mid == DOSMID_386BSD) {
slice = BASE_SLICE + i;
sector = dptr->dp_scyl * spc;
break;
OpenPOWER on IntegriCloud