[ofw] [PATCH] dapl-2.0: common: dapls_evd_dto_wait() dbg message should print status and not errno
Davis, Arlin R
arlin.r.davis at intel.com
Thu Jan 20 18:50:31 PST 2011
Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
dapl/openib_common/cq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dapl/openib_common/cq.c b/dapl/openib_common/cq.c
index f475d1d..f03400f 100644
--- a/dapl/openib_common/cq.c
+++ b/dapl/openib_common/cq.c
@@ -321,7 +321,7 @@ dapls_evd_dto_wait(IN DAPL_EVD * evd_ptr, IN uint32_t timeout)
dapl_dbg_log(DAPL_DBG_TYPE_UTIL,
" cq_object_wait: RET evd %p ibv_cq %p %s\n",
- evd_ptr, ibv_cq, strerror(errno));
+ evd_ptr, ibv_cq, strerror(status));
return dapl_convert_errno(status, "cq_wait_object_wait");
}
--
1.7.3
More information about the ofw
mailing list