diff options
author | kato <kato@FreeBSD.org> | 1999-09-23 04:09:01 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-09-23 04:09:01 +0000 |
commit | e789a63b409ce10e4352030fb4367906eb570373 (patch) | |
tree | 139e3ef2d9b6c7213a6aff41fd0ba9c3da332bb1 /sys | |
parent | a0968f988f32f35456fde8b1a365395311cc0ce1 (diff) | |
download | FreeBSD-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.c | 2 |
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 |