diff options
author | Steven Hartland <smh@FreeBSD.org> | 2013-11-07 23:21:52 +0000 |
---|---|---|
committer | Steven Hartland <smh@FreeBSD.org> | 2013-11-07 23:21:52 +0000 |
commit | e2b8af8404d82aebf44678a28608659d8feddd02 (patch) | |
tree | 0e86a1499d57c34f4bd4a096775b521baef48b88 /sys/cam | |
parent | f913e67483a0bdb073e96f89e2447c8587799eab (diff) | |
download | src-e2b8af8404d82aebf44678a28608659d8feddd02.tar.gz src-e2b8af8404d82aebf44678a28608659d8feddd02.zip |
Corrected definition for old_rate to match d_rotation_rate
MFC after: 2 Days
X-MFC-With: r256956
Notes
Notes:
svn path=/head/; revision=257831
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/scsi/scsi_da.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 980282d6fee6..64109d08202d 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -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); |