mirror of
https://github.com/reactos/reactos.git
synced 2026-05-22 15:20:29 +08:00
[FLOPPY] Fix broken loop
CID 1419440
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user