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

@@ -114,7 +114,7 @@ int T0390_mandatory_opcodes_sbc(const char *initiator, const char *url, int data
}
sccs = inq->sccs;
encserv = inq->encserv;
if (inq->periperal_device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {
if (inq->device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {
printf("Not a SBC device. Skipping test\n");
scsi_free_scsi_task(task);
ret = -2;