aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/pc98/boot2/disk.c
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2005-05-08 11:15:38 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2005-05-08 11:15:38 +0000
commitad42c2a5fde7c16b68b55829c86e22f8678c1bc2 (patch)
treeb1694b817681f9ba63e40115faea4d00c724d45f /sys/boot/pc98/boot2/disk.c
parent58b705b3303c58f69d8a859fd759aa580c554f32 (diff)
Notes
Diffstat (limited to 'sys/boot/pc98/boot2/disk.c')
-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 f892c276ce92..835fff0196d8 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;