1
0

Update SmartArrayControllerTool.cpp

This commit is contained in:
Benjamin Höglinger-Stelzer 2023-06-26 10:44:30 +02:00
parent 281fb7e2b8
commit 031b3a0dcf

View File

@ -131,7 +131,7 @@ int wmain(int argc, wchar_t* argv[])
sptwb.spt.PathId = 0;
sptwb.spt.TargetId = 0;
sptwb.spt.Lun = 0;
sptwb.spt.CdbLength = ARRAYSIZE(cdb);
sptwb.spt.CdbLength = sizeof(cdb);
sptwb.spt.SenseInfoLength = SPT_SENSE_LENGTH;
sptwb.spt.DataIn = SCSI_IOCTL_DATA_IN;
sptwb.spt.DataTransferLength = SPTWB_DATA_LENGTH;