diff options
author | Christopher Faylor <me@cgf.cx> | 2011-12-07 07:07:25 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-12-07 07:07:25 +0400 |
commit | 9bab9bfeb5a9eb0247ebe2edd261eb7b93887a1b (patch) | |
tree | 239c0ac3e2f6a09c600c4f00260a4e43ee843200 /winsup/cygwin/fhandler_fifo.cc | |
parent | 9ce2f7534fe8e270b7837f3b71dc609a40f383ca (diff) |
* fhandler_fifo.cc (fhandler_fifo::wait): Fix stupid typo and actually wait for
the handle.
Diffstat (limited to 'winsup/cygwin/fhandler_fifo.cc')
-rw-r--r-- | winsup/cygwin/fhandler_fifo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_fifo.cc b/winsup/cygwin/fhandler_fifo.cc index ae5705483..c0aaf1e82 100644 --- a/winsup/cygwin/fhandler_fifo.cc +++ b/winsup/cygwin/fhandler_fifo.cc @@ -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); |