MULTIPATH TESTS: fix another bug where we did an inquiry for the wrong page

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2015-06-01 21:18:28 -07:00
parent 95d763d9f9
commit 3601799a1b

View File

@@ -282,7 +282,9 @@ mpath_check_matching_ids_serial_vpd(int num_sds,
/* we need more data */
inq_task = NULL;
inquiry(sds[i], &inq_task, 0, 0, full_size,
inquiry(sds[i], &inq_task, 1,
SCSI_INQUIRY_PAGECODE_UNIT_SERIAL_NUMBER,
full_size,
EXPECT_STATUS_GOOD);
if (inq_task == NULL) {
printf("Inquiry command failed : %s\n",