--- trunk/reactos/drivers/storage/floppy/readwrite.c 2005-04-05 15:51:02 UTC (rev 14503)
+++ trunk/reactos/drivers/storage/floppy/readwrite.c 2005-04-05 15:53:09 UTC (rev 14504)
@@ -723,7 +723,7 @@
/* Read is complete; flush & free adapter channel */
IoFlushAdapterBuffers(DriveInfo->ControllerInfo->AdapterObject, Irp->MdlAddress,
DriveInfo->ControllerInfo->MapRegisterBase,
- MmGetMdlVirtualAddress(Irp->MdlAddress),
+ (PVOID)((ULONG_PTR)MmGetMdlVirtualAddress(Irp->MdlAddress) + TransferByteOffset),
CurrentTransferBytes, WriteToDevice);
/* Read the results from the drive */