Make it compile

This commit is contained in:
Kevin Lo 2007-03-14 01:59:00 +00:00
parent f6c0136c7f
commit dc0a8e318e

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