TYPO: Change periperal_device_type to just device_type
but leave the old name as a define for backward compatibility
This commit is contained in:
@@ -60,7 +60,7 @@ int T0232_write12_flags(const char *initiator, const char *url, int data_loss, i
|
||||
scsi_free_scsi_task(task);
|
||||
return -1;
|
||||
}
|
||||
if (inq->periperal_device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {
|
||||
if (inq->device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {
|
||||
printf("LUN is not SBC device. Skipping test\n");
|
||||
scsi_free_scsi_task(task);
|
||||
return -2;
|
||||
|
||||
Reference in New Issue
Block a user