projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15036c
)
[FLOPPY] Fix broken loop
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 21 Oct 2017 08:28:00 +0000
(10:28 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 21 Oct 2017 08:28:00 +0000
(10:28 +0200)
CID
1419440
drivers/storage/floppy/readwrite.c
patch
|
blob
|
history
diff --git
a/drivers/storage/floppy/readwrite.c
b/drivers/storage/floppy/readwrite.c
index
aff69ca
..
594d9c7
100644
(file)
--- 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(
FALS
E);
+ while(
TRU
E);
TRACE_(FLOPPY, "RWDetermineMediaType(): failed to find media\n");
return STATUS_UNRECOGNIZED_MEDIA;