diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 7bb25fc31..b8f6199c6 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -950,6 +950,7 @@ go: memset(buf, 0, len); buf[0] = 0x7F; /* Peripheral qualifier 011b, Peripheral device type 1Fh */ + buf[4] = len - 4; TRACE_BUFFER("INQUIRY for not supported LUN set", buf, len);