Minor fix

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5708 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2014-07-30 02:53:07 +00:00
parent ab1eb5dbbc
commit e11f0be12f

View File

@@ -5095,7 +5095,7 @@ static void scst_complete_request_sense(struct scst_cmd *req_cmd)
TRACE(TRACE_SCSI|TRACE_MGMT_DEBUG, "REQUEST SENSE %p returned "
"valid sense (orig cmd %s)", req_cmd, orig_cmd->op_name);
PRINT_BUFF_FLAG(TRACE_SCSI|TRACE_MGMT_DEBUG, "Sense", buf, len);
if (!scst_no_sense(buf))
if (scst_no_sense(buf))
PRINT_WARNING("REQUEST SENSE returned NO SENSE (orig "
"cmd %s)", orig_cmd->op_name);
scst_alloc_set_sense(orig_cmd, scst_cmd_atomic(req_cmd),