Fix clearing SPTD buffer in Windows.

This commit is contained in:
2020-10-24 14:47:58 +01:00
parent a354f1d826
commit 91c8e2bdb9

View File

@@ -56,7 +56,7 @@ int32_t SendScsiCommand(void* device_ctx,
if(!sptd_and_sense) return -1;
memset(&sptd_and_sense, 0, sptd_and_sense_len);
memset(sptd_and_sense, 0, sptd_and_sense_len);
*sense_buffer = malloc(*sense_len);