소스 검색

Initiator sense request from debug to standard log

In initiator mode the request sense command gets more information
about errors. Moving it from the debug logging to standard logging
will better inform users using initiator mode that an error has
occurred.

This change is based on the work of androda in this commit:
https://github.com/BlueSCSI/BlueSCSI-v2/commit/980fb0b3f331d19eb6ffac422ba4411957ab1223

Co-authored-by: androda <3105206+androda@users.noreply.github.com>
Morio 1 년 전
부모
커밋
9d115f0bd3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/ZuluSCSI_initiator.cpp

+ 1 - 1
src/ZuluSCSI_initiator.cpp

@@ -568,7 +568,7 @@ bool scsiRequestSense(int target_id, uint8_t *sense_key)
                                          response, sizeof(response),
                                          NULL, 0);
 
-    dbgmsg("RequestSense response: ", bytearray(response, 18));
+    logmsg("RequestSense response: ", bytearray(response, 18));
 
     *sense_key = response[2];
     return status == 0;