1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Make it compile

This commit is contained in:
Kevin Lo 2007-03-14 01:59:00 +00:00
parent f6c0136c7f
commit dc0a8e318e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167513

View File

@ -729,7 +729,7 @@ atapi_cb(struct ata_request *request)
* issued a REQUEST SENSE automatically and that operation
* returned without error.
*/
if (request->saved_cmd != 0 && request->error == 0) {
if (request->u.atapi.saved_cmd != 0 && request->error == 0) {
bcopy (&request->u.atapi.sense, &csio->sense_data, sizeof(struct atapi_sense));
csio->ccb_h.status |= CAM_AUTOSNS_VALID;
}