diff options
author | nyan <nyan@FreeBSD.org> | 2003-01-04 08:50:48 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2003-01-04 08:50:48 +0000 |
commit | 864080610ecb4bdf1e559a7f65f6e149c26ede85 (patch) | |
tree | 564ff0c6cce1ed927a6fa1c29c37132bcc9a33b1 /lib | |
parent | d409ed88f5d1f0e447be9bda781b1812ae8b69b9 (diff) | |
download | FreeBSD-src-864080610ecb4bdf1e559a7f65f6e149c26ede85.zip FreeBSD-src-864080610ecb4bdf1e559a7f65f6e149c26ede85.tar.gz |
Rename the dos_partition structure for pc98 to pc98_partition.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libdisk/write_pc98_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdisk/write_pc98_disk.c b/lib/libdisk/write_pc98_disk.c index 14ebda5..efd2d10 100644 --- a/lib/libdisk/write_pc98_disk.c +++ b/lib/libdisk/write_pc98_disk.c @@ -68,7 +68,7 @@ Write_Disk(const struct disk *d1) int ret = 0; char device[64]; u_char *mbr; - struct dos_partition *dp, work[NDOSPART]; + struct pc98_partition *dp, work[NDOSPART]; int s[7]; int PC98_EntireDisk = 0; @@ -91,7 +91,7 @@ Write_Disk(const struct disk *d1) memset(s, 0, sizeof s); mbr = read_block(fd, 1, d1->sector_size); - dp = (struct dos_partition *)(mbr + DOSPARTOFF); + dp = (struct pc98_partition *)(mbr + DOSPARTOFF); memcpy(work, dp, sizeof work); dp = work; free(mbr); |