diff mbox

opensm/osm_sa_path_record.c: Add error code to newly added log message

Message ID 20100524194251.GA26919@comcast.net (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hal Rosenstock May 24, 2010, 7:42 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/opensm/osm_sa_path_record.c b/opensm/opensm/osm_sa_path_record.c
index 9fa0c1e..de97dcd 100644
--- a/opensm/opensm/osm_sa_path_record.c
+++ b/opensm/opensm/osm_sa_path_record.c
@@ -377,7 +377,7 @@  static ib_api_status_t pr_rcv_get_path_parms(IN osm_sa_t * sa,
 		/* update number of hops traversed */
 		hops++;
 		if (hops > MAX_HOPS) {
-			OSM_LOG(sa->p_log, OSM_LOG_ERROR,
+			OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 1F25: "
 				"Path from GUID 0x%016" PRIx64 " (%s) to"
 				" lid %u GUID 0x%016" PRIx64 " (%s) needs"
 				" more than %d hops, max %d hops allowed\n",