1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

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)
This commit is contained in:
KATO Takenori 1999-09-23 04:09:01 +00:00
parent 3e30c6e0ef
commit 33833e82bd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51588

View File

@ -368,7 +368,7 @@ dsinit(dev, lp, sspp)
#ifdef PC98
ncyls = lp->d_secpercyl;
ncyls = lp->d_ncylinders;
#else
ncyls = DPCYL(dp->dp_ecyl, dp->dp_esect) + 1;
#endif