summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-01-21 13:59:53 +0000
committernyan <nyan@FreeBSD.org>2003-01-21 13:59:53 +0000
commit1d9fb4e782cd66f31d7b16a7eb448a65661e0dbe (patch)
tree2968f78df1d39d4685b58e034b7fd98a061b882e /sys/boot
parentabd1b9cf8af663f50243724834fec7fe0ed8b16c (diff)
downloadFreeBSD-src-1d9fb4e782cd66f31d7b16a7eb448a65661e0dbe.zip
FreeBSD-src-1d9fb4e782cd66f31d7b16a7eb448a65661e0dbe.tar.gz
Use NDOSPART instead of NEXTDOSPART.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/libpc98/biosdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/pc98/libpc98/biosdisk.c b/sys/boot/pc98/libpc98/biosdisk.c
index 2d9afbd..d1427f9 100644
--- a/sys/boot/pc98/libpc98/biosdisk.c
+++ b/sys/boot/pc98/libpc98/biosdisk.c
@@ -86,7 +86,7 @@ struct open_disk {
#endif
struct disklabel od_disklabel;
int od_nslices; /* slice count */
- struct pc98_partition od_slicetab[NEXTDOSPART];
+ struct pc98_partition od_slicetab[NDOSPART];
};
/*
@@ -778,7 +778,7 @@ bd_checkextended(struct open_disk *od, int slicenum)
for (i = 0; i < NDOSPART; i++, dp++) {
if (dp->dp_size == 0)
continue;
- if (od->od_nslices == NEXTDOSPART)
+ if (od->od_nslices == NDOSPART)
goto done;
dp->dp_start += base;
bcopy(dp, &od->od_slicetab[od->od_nslices], sizeof(*dp));
OpenPOWER on IntegriCloud