diff mbox

[infiniband-diags] perfquery.c: Change format of capability mask in IBWARN for consistency

Message ID 53625888.90607@dev.mellanox.co.il (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Hal Rosenstock May 1, 2014, 2:22 p.m. UTC
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/src/perfquery.c b/src/perfquery.c
index 112d92c..535abb6 100644
--- a/src/perfquery.c
+++ b/src/perfquery.c
@@ -327,7 +327,7 @@  static void dump_perfcounters(int extended, int timeout, uint16_t cap_mask,
 		if (!(cap_mask & IB_PM_EXT_WIDTH_SUPPORTED) &&
 		    !(cap_mask & IB_PM_EXT_WIDTH_NOIETF_SUP))
 			IBWARN
-			    ("PerfMgt ClassPortInfo 0x%x; No extended counter support indicated\n",
+			    ("PerfMgt ClassPortInfo CapMask 0x%02X; No extended counter support indicated\n",
 			     ntohs(cap_mask));
 
 		memset(pc, 0, sizeof(pc));