Commit 17c035b6 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

O_RDONLY==0 but it's cleaner to pass it to DRIVE_OpenDevice() anyway.

parent 1351e23b
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment