diff --git a/test-tool/test_inquiry_standard.c b/test-tool/test_inquiry_standard.c index ccc4452..76d33c7 100644 --- a/test-tool/test_inquiry_standard.c +++ b/test-tool/test_inquiry_standard.c @@ -34,7 +34,8 @@ test_inquiry_standard(void) logging(LOG_VERBOSE, "Test of the standard INQUIRY page"); logging(LOG_VERBOSE, "Verify we can read standard INQUIRY page"); - ret = inquiry(iscsic, tgt_lun, 0, 0, 255, &task); + /* 260 bytes is the maximum possible size of the standard vpd */ + ret = inquiry(iscsic, tgt_lun, 0, 0, 260, &task); CU_ASSERT_EQUAL(ret, 0); logging(LOG_VERBOSE, "Verify we got at least 36 bytes of data");