[ofa-general] [PATCH] opensm/osm_pkey.c: cosmetics in some log message

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Mon Nov 10 06:19:17 PST 2008


Hi Sasha,

Just some cosmetics in a log message.

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

diff --git a/opensm/opensm/osm_pkey.c b/opensm/opensm/osm_pkey.c
index 3adc8d7..e09faa8 100644
--- a/opensm/opensm/osm_pkey.c
+++ b/opensm/opensm/osm_pkey.c
@@ -475,7 +475,7 @@ osm_physp_has_pkey(IN osm_log_t * p_log,
 	OSM_LOG_ENTER(p_log);

 	OSM_LOG(p_log, OSM_LOG_DEBUG,
-		"Search for PKey: 0x%4x\n", cl_ntoh16(pkey));
+		"Search for PKey: 0x%04x\n", cl_ntoh16(pkey));

 	/* if the pkey given is an invalid pkey - return TRUE. */
 	if (ib_pkey_is_invalid(pkey)) {
-- 
1.5.1.4




More information about the general mailing list