[FLOPPY] Fix broken loop

CID 1419440
This commit is contained in:
Pierre Schweitzer 2017-10-21 10:28:00 +02:00
parent c15036cf3c
commit c274b25c95

View file

@ -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;