diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/utils.h b/include/scsi/utils.h index b49392d841..d301b31768 100644 --- a/include/scsi/utils.h +++ b/include/scsi/utils.h @@ -116,6 +116,9 @@ int scsi_cdb_length(uint8_t *buf); #define SG_ERR_DID_TIME_OUT 0x03 #define SG_ERR_DRIVER_SENSE 0x08 + +int sg_io_sense_from_errno(int errno_value, struct sg_io_hdr *io_hdr, + SCSISense *sense); #endif #endif |