* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use correct value in

switch statement.
This commit is contained in:
Christopher Faylor
2011-12-21 18:34:57 +00:00
parent f500a700b1
commit 8176232ddc
2 changed files with 6 additions and 1 deletions

View File

@@ -1931,7 +1931,7 @@ fhandler_base_overlapped::wait_overlapped (bool inres, bool writing, DWORD *byte
BOOL wores;
if (isclosed ())
{
switch (err)
switch (wfres)
{
case WAIT_OBJECT_0:
err = ERROR_INVALID_HANDLE;