MFC r257831 (by smh):

Corrected definition for old_rate to match d_rotation_rate
This commit is contained in:
mav 2015-10-05 07:21:26 +00:00
parent eeb9c6755e
commit 3de479a07f

View File

@ -3458,7 +3458,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);