浏览代码

Initiator mode: fix confusing debug message

Petteri Aimonen 3 年之前
父节点
当前提交
904397cf9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/ZuluSCSI_initiator.cpp

+ 1 - 1
src/ZuluSCSI_initiator.cpp

@@ -244,7 +244,7 @@ int scsiInitiatorRunCommand(int target_id,
 
             if (!scsiHostRead(bufIn, bufInLen))
             {
-                azlog("scsiHostRead failed, was writing ", bytearray(bufOut, bufOutLen));
+                azlog("scsiHostRead failed, tried to read ", (int)bufInLen, " bytes");
                 status = -2;
                 break;
             }