From patchwork Fri Jan 21 02:50:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arlin Davis X-Patchwork-Id: 493521 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0L2ocYm031341 for ; Fri, 21 Jan 2011 02:50:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752643Ab1AUCuf (ORCPT ); Thu, 20 Jan 2011 21:50:35 -0500 Received: from mga11.intel.com ([192.55.52.93]:20140 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752201Ab1AUCuf convert rfc822-to-8bit (ORCPT ); Thu, 20 Jan 2011 21:50:35 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 20 Jan 2011 18:50:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.60,355,1291622400"; d="scan'208";a="649491208" Received: from orsmsx602.amr.corp.intel.com ([10.22.226.211]) by fmsmga002.fm.intel.com with ESMTP; 20 Jan 2011 18:50:34 -0800 Received: from orsmsx605.amr.corp.intel.com (10.22.226.10) by orsmsx602.amr.corp.intel.com (10.22.226.211) with Microsoft SMTP Server (TLS) id 8.2.254.0; Thu, 20 Jan 2011 18:50:34 -0800 Received: from orsmsx506.amr.corp.intel.com ([10.22.226.44]) by orsmsx605.amr.corp.intel.com ([10.22.226.10]) with mapi; Thu, 20 Jan 2011 18:50:33 -0800 From: "Davis, Arlin R" To: linux-rdma , "ofw@lists.openfabrics.org" Date: Thu, 20 Jan 2011 18:50:31 -0800 Subject: [PATCH] dapl-2.0: common: dapls_evd_dto_wait() dbg message should print status and not errno Thread-Topic: [PATCH] dapl-2.0: common: dapls_evd_dto_wait() dbg message should print status and not errno Thread-Index: Acu5Fff4Z0lx9xUQQc2N5gERzQVmkg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 21 Jan 2011 02:50:39 +0000 (UTC) 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"); }