Corrected definition for old_rate to match d_rotation_rate
MFC after: 2 Days X-MFC-With: r256956
This commit is contained in:
parent
f913e67483
commit
e2b8af8404
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user