[ofa-general] [PATCH] opensm/osm_pkey_mgr.c: trivial fix in log message

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Tue Dec 18 05:12:15 PST 2007


Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 opensm/opensm/osm_pkey_mgr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/opensm/osm_pkey_mgr.c b/opensm/opensm/osm_pkey_mgr.c
index eb6cf54..dd1f49a 100644
--- a/opensm/opensm/osm_pkey_mgr.c
+++ b/opensm/opensm/osm_pkey_mgr.c
@@ -355,7 +355,7 @@ static boolean_t pkey_mgr_update_port(osm_log_t * p_log,
 					"pkey_mgr_update_port: ERR 0505: "
 					"Failed to set PKey 0x%04x in block %u idx %u "
 					"for node 0x%016" PRIx64 " port %u\n",
-					p_pending->pkey, block_index,
+					cl_ntoh16(p_pending->pkey), block_index,
 					pkey_index,
 					cl_ntoh64(osm_node_get_node_guid
 						  (p_node)),
-- 
1.5.1.4




More information about the general mailing list