mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[USBSTOR]
- Fix a broken assert (yes, calling NTOHL is wrong, ContiguousLogicBlocksByte0 is the MSB). CID 701077 svn path=/trunk/; revision=73826
This commit is contained in:
@@ -1201,7 +1201,7 @@ USBSTOR_SendReadWrite(
|
||||
// sanity check
|
||||
//
|
||||
Temp = (Cmd.ContiguousLogicBlocksByte0 << 8 | Cmd.ContiguousLogicBlocksByte1);
|
||||
ASSERT(NTOHL(Temp == BlockCount));
|
||||
ASSERT(Temp == BlockCount);
|
||||
|
||||
DPRINT("USBSTOR_SendReadWrite BlockAddress %x%x%x%x BlockCount %lu BlockLength %lu\n", Cmd.LogicalBlockByte0, Cmd.LogicalBlockByte1, Cmd.LogicalBlockByte2, Cmd.LogicalBlockByte3, BlockCount, PDODeviceExtension->BlockLength);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user