summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2005-05-08 11:15:38 +0000
committernyan <nyan@FreeBSD.org>2005-05-08 11:15:38 +0000
commit99aa0a68d31aa70184bf3642c726ef1c6833df7b (patch)
treeb1694b817681f9ba63e40115faea4d00c724d45f /sys/boot
parentb83c9772e3d9aa6309ddc51c54fad5975eb67e42 (diff)
downloadFreeBSD-src-99aa0a68d31aa70184bf3642c726ef1c6833df7b.zip
FreeBSD-src-99aa0a68d31aa70184bf3642c726ef1c6833df7b.tar.gz
Use DOSMID_386BSD rather than DOSPTYP_386BSD.
Diffstat (limited to 'sys/boot')
-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