From 3601799a1b89057f1fecfbf0eb94ae8403d2f298 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Mon, 1 Jun 2015 21:18:28 -0700 Subject: [PATCH] MULTIPATH TESTS: fix another bug where we did an inquiry for the wrong page Signed-off-by: Ronnie Sahlberg --- test-tool/iscsi-multipath.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-tool/iscsi-multipath.c b/test-tool/iscsi-multipath.c index db20d4c..98c4838 100644 --- a/test-tool/iscsi-multipath.c +++ b/test-tool/iscsi-multipath.c @@ -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",