summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-09-23 04:09:01 +0000
committerkato <kato@FreeBSD.org>1999-09-23 04:09:01 +0000
commite789a63b409ce10e4352030fb4367906eb570373 (patch)
tree139e3ef2d9b6c7213a6aff41fd0ba9c3da332bb1 /sys
parenta0968f988f32f35456fde8b1a365395311cc0ce1 (diff)
downloadFreeBSD-src-e789a63b409ce10e4352030fb4367906eb570373.zip
FreeBSD-src-e789a63b409ce10e4352030fb4367906eb570373.tar.gz
Fixed the bug that the number of sectors per cylinder was stored into
the ncyls (number of cylinders) in dsinit(). Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
Diffstat (limited to 'sys')
-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 9e88e29..c14518c 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
OpenPOWER on IntegriCloud