]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
common: cleanup debug messages when building with ibacm feature
authorsean.hefty@intel.com <arlin.r.davis@intel.com>
Wed, 22 Jun 2011 17:40:17 +0000 (10:40 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 22 Jun 2011 17:40:17 +0000 (10:40 -0700)
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_common/qp.c

index fb13576d84e5af529d027cebb4fab8047abf9d17..94bb1ed97117ae96100a2acc484f9b9bc0bf8ac7 100644 (file)
@@ -402,9 +402,9 @@ uint8_t dapls_get_sl(DAPL_HCA *hca_ptr, uint16_t dlid)
                sl = ntohs(((struct ibv_path_record *) res->ai_route)->
                           qosclass_sl) & 0xF;
        else 
-               dapl_log(DAPL_DBG_TYPE_CM_WARNING,
+               dapl_log(DAPL_DBG_TYPE_CM_WARN,
                        " dapls_get_sl: Warning, route miss 0x%x -> 0x%x\n",
-                       slid, dlid);
+                       path.slid, path.dlid);
 
        rdma_freeaddrinfo(res);
 out: