summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/pc98/pc98/diskslice_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/pc98/diskslice_machdep.c b/sys/pc98/pc98/diskslice_machdep.c
index 9e88e2977564..c14518ca3f5c 100644
--- a/sys/pc98/pc98/diskslice_machdep.c
+++ b/sys/pc98/pc98/diskslice_machdep.c
@@ -368,7 +368,7 @@ reread_mbr:
#ifdef PC98
- ncyls = lp->d_secpercyl;
+ ncyls = lp->d_ncylinders;
#else
ncyls = DPCYL(dp->dp_ecyl, dp->dp_esect) + 1;
#endif