mirror of
https://github.com/reactos/wine.git
synced 2025-02-07 12:48:02 +00:00
O_RDONLY==0 but it's cleaner to pass it to DRIVE_OpenDevice() anyway.
This commit is contained in:
parent
1351e23b05
commit
17c035b684
@ -116,7 +116,7 @@ static void INT13_ReadFloppyParams( CONTEXT86 *context )
|
||||
return;
|
||||
}
|
||||
|
||||
if ( (floppy_fd = DRIVE_OpenDevice( drive_nr, O_NONBLOCK)) == -1)
|
||||
if ( (floppy_fd = DRIVE_OpenDevice( drive_nr, O_RDONLY|O_NONBLOCK)) == -1)
|
||||
{
|
||||
WARN("Can't determine floppy geometry !\n");
|
||||
INT13_SetStatus( context, 0x07 ); /* drive parameter activity failed */
|
||||
|
Loading…
x
Reference in New Issue
Block a user