summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/boot2
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-01-04 08:50:48 +0000
committernyan <nyan@FreeBSD.org>2003-01-04 08:50:48 +0000
commit864080610ecb4bdf1e559a7f65f6e149c26ede85 (patch)
tree564ff0c6cce1ed927a6fa1c29c37132bcc9a33b1 /sys/boot/pc98/boot2
parentd409ed88f5d1f0e447be9bda781b1812ae8b69b9 (diff)
downloadFreeBSD-src-864080610ecb4bdf1e559a7f65f6e149c26ede85.zip
FreeBSD-src-864080610ecb4bdf1e559a7f65f6e149c26ede85.tar.gz
Rename the dos_partition structure for pc98 to pc98_partition.
Diffstat (limited to 'sys/boot/pc98/boot2')
-rw-r--r--sys/boot/pc98/boot2/disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/pc98/boot2/disk.c b/sys/boot/pc98/boot2/disk.c
index 297e806..e878258 100644
--- a/sys/boot/pc98/boot2/disk.c
+++ b/sys/boot/pc98/boot2/disk.c
@@ -77,7 +77,7 @@ static char *Bread(int dosdev, int sector);
int
devopen(void)
{
- struct dos_partition *dptr;
+ struct pc98_partition *dptr;
struct disklabel *dl;
char *p;
int i, sector = 0, di, dosdev_copy;
@@ -99,7 +99,7 @@ devopen(void)
#else /* EMBEDDED_DISKLABEL */
#ifdef PC98
p = Bread(dosdev_copy, 1);
- dptr = (struct dos_partition *)p;
+ dptr = (struct pc98_partition *)p;
slice = WHOLE_DISK_SLICE;
for (i = 0; i < NDOSPART; i++, dptr++)
if (dptr->dp_mid == DOSPTYP_386BSD) {
OpenPOWER on IntegriCloud