Reference a pointer correctly when copying to it's location.
Submitted by: Coverity Prevent analysis tool
This commit is contained in:
parent
86862c1cfa
commit
3c8e6b027c
@ -1971,7 +1971,7 @@ scsi_sense_sbuf(struct cam_device *device, struct ccb_scsiio *csio,
|
||||
* errors on finicky architectures. We don't
|
||||
* ensure that the sense data is pointer aligned.
|
||||
*/
|
||||
bcopy(&csio->sense_data, sense,
|
||||
bcopy(&csio->sense_data, &sense,
|
||||
sizeof(struct scsi_sense_data *));
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user