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:
Ronnie Sahlberg
2012-09-03 09:45:59 -07:00
parent 77fc2497f7
commit 116af01156
14 changed files with 47 additions and 43 deletions

View File

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