From c36dfdd597916aeeaa056e912885eb34db3565e5 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Thu, 17 Jun 2010 08:22:22 -0700 Subject: [PATCH] Refresh of umad-dbg --- trunk/ulp/libibumad/src/umad.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/ulp/libibumad/src/umad.cpp b/trunk/ulp/libibumad/src/umad.cpp index 752af1d9..f033cbe6 100644 --- a/trunk/ulp/libibumad/src/umad.cpp +++ b/trunk/ulp/libibumad/src/umad.cpp @@ -608,6 +608,7 @@ int umad_recv(int portid, void *umad, int *length, int timeout_ms) } else { hr = WaitForSingleObject(port->overlap.hEvent, (DWORD) timeout_ms); if (hr == WAIT_TIMEOUT) { + _set_errno(EWOULDBLOCK); return -EWOULDBLOCK; } } -- 2.46.0