Corrected definition for old_rate to match d_rotation_rate

MFC after:	2 Days
X-MFC-With:	r256956
This commit is contained in:
Steven Hartland 2013-11-07 23:21:52 +00:00
parent f913e67483
commit e2b8af8404

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);