https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c274b25c9560ef4d4d2dd…
commit c274b25c9560ef4d4d2dd8ee4ea71bdde368c4cc
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Oct 21 10:28:00 2017 +0200
[FLOPPY] Fix broken loop
CID 1419440
---
drivers/storage/floppy/readwrite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/storage/floppy/readwrite.c b/drivers/storage/floppy/readwrite.c
index aff69ca8d0..594d9c7e8b 100644
--- a/drivers/storage/floppy/readwrite.c
+++ b/drivers/storage/floppy/readwrite.c
@@ -266,7 +266,7 @@ RWDetermineMediaType(PDRIVE_INFO DriveInfo, BOOLEAN OneShot)
DriveInfo->BytesPerSectorCode = HW_512_BYTES_PER_SECTOR;
return STATUS_SUCCESS;
}
- while(FALSE);
+ while(TRUE);
TRACE_(FLOPPY, "RWDetermineMediaType(): failed to find media\n");
return STATUS_UNRECOGNIZED_MEDIA;