Corrected writing of debug result for readlong.

This commit is contained in:
2017-06-04 01:31:46 +01:00
parent 3110ef9027
commit cc63232d7b

View File

@@ -1558,7 +1558,7 @@ namespace DiscImageChef.Core.Devices.Report.SCSI
{
sense = dev.ReadLong10(out buffer, out senseBuffer, false, false, 0, (ushort)mediaTest.LongBlockSize, timeout, out duration);
if(!sense)
DataFile.WriteTo("SCSI Report", "readlong10", "_debug_" + mediaTest.MediumTypeName + ".bin", "read results", buffer);
DataFile.WriteTo("SCSI Report", "readlong10", "_debug_" + report.SCSI.Inquiry.ProductIdentification + "_" + mediaType + ".bin", "read results", buffer);
}
}
mediaTests.Add(mediaTest);