Corrected definition for old_rate to match d_rotation_rate

MFC after:	2 Days
X-MFC-With:	r256956
This commit is contained in:
smh 2013-11-07 23:21:52 +00:00
parent b9c17c53a0
commit e4b674cb5a

View File

@ -3364,7 +3364,7 @@ dadone(struct cam_periph *periph, union ccb *done_ccb)
* Disable queue sorting for non-rotational media
* by default.
*/
u_int old_rate = softc->disk->d_rotation_rate;
u_int16_t old_rate = softc->disk->d_rotation_rate;
softc->disk->d_rotation_rate =
scsi_2btoul(bdc->medium_rotation_rate);