diff mbox

osm_mcast_mgr.c: fixed missing error message number

Message ID 529CA16D.3070507@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hal Rosenstock Dec. 2, 2013, 3:04 p.m. UTC
From: Daniel Klein <danielk@mellanox.com>

Added number to error message on osm_mcast_mgr.c\mcast_mgr_branch
when multicast tree depth is more than 64.

Signed-off-by: Daniel Klein <danielk@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
 opensm/osm_mcast_mgr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/opensm/osm_mcast_mgr.c b/opensm/osm_mcast_mgr.c
index 65df552..a3c6185 100644
--- a/opensm/osm_mcast_mgr.c
+++ b/opensm/osm_mcast_mgr.c
@@ -811,7 +811,7 @@  static osm_mtree_node_t *mcast_mgr_branch(osm_sm_t * sm, uint16_t mlid_ho,
 	depth++;
 
 	if (depth >= 64) {
-		OSM_LOG(sm->p_log, OSM_LOG_ERROR,
+		OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 0A21: "
 			"Maximal hops number is reached for MLID 0x%x."
 			" Break processing.", mlid_ho);
 		mcast_mgr_purge_list(sm, p_list);