* fhandler_fifo.cc (fhandler_fifo::wait): Fix stupid typo and actually wait for
the handle.
This commit is contained in:
@@ -216,7 +216,7 @@ fhandler_fifo::wait (HANDLE h)
|
||||
|
||||
debug_only_printf ("waiting for %s", what);
|
||||
/* Wait for the event. Set errno, as appropriate if something goes wrong. */
|
||||
switch (cygWFMO (1, wait))
|
||||
switch (cygWFMO (1, wait, h))
|
||||
{
|
||||
case WAIT_OBJECT_0:
|
||||
debug_only_printf ("successfully waited for %s", what);
|
||||
|
Reference in New Issue
Block a user