scst_targ: Report unsupported SELECT REPORT values with 0x prefix

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6571 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-11-03 16:52:00 +00:00
parent 77baa86e0e
commit 87c1d45bf8
+1 -1
View File
@@ -1887,7 +1887,7 @@ static int scst_report_luns_local(struct scst_cmd *cmd)
cmd->driver_status = 0;
if ((cmd->cdb[2] != 0) && (cmd->cdb[2] != 2)) {
TRACE(TRACE_MINOR, "Unsupported SELECT REPORT value %x in "
TRACE(TRACE_MINOR, "Unsupported SELECT REPORT value %#x in "
"REPORT LUNS command", cmd->cdb[2]);
scst_set_invalid_field_in_cdb(cmd, 2, 0);
goto out_compl;