mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
Merge of the trunk's r3121:
Fix minor issue when generating INQUIRY responses for not existing LUNs. git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@3122 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user