[ofa-general] [PATCH] opensm/osm_ucast_mgr.c: Add error numbers for some OSM_LOG prin
hnrose at comcast.net
hnrose at comcast.net
Sat Feb 14 05:51:39 PST 2009
>From 3b8e45eaaeaac7bd34b60dfd432469cafc6caef7 Mon Sep 17 00:00:00 2001
From: Hal Rosenstock <hal.rosenstock at gmail.com>
Date: Tue, 10 Feb 2009 07:14:32 -0500
Subject: [PATCH] opensm/osm_ucast_mgr.c: Add error numbers for some OSM_LOG prints
Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
opensm/opensm/osm_ucast_mgr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opensm/opensm/osm_ucast_mgr.c b/opensm/opensm/osm_ucast_mgr.c
index 7232fbc..e404c91 100644
--- a/opensm/opensm/osm_ucast_mgr.c
+++ b/opensm/opensm/osm_ucast_mgr.c
@@ -786,7 +786,7 @@ static void sort_ports_by_switch_load(osm_ucast_mgr_t *m)
int i, num = cl_qmap_count(&m->p_subn->sw_guid_tbl);
void **s = malloc(num * sizeof(*s));
if (!s) {
- OSM_LOG(m->p_log, OSM_LOG_ERROR, "ERR: "
+ OSM_LOG(m->p_log, OSM_LOG_ERROR, "ERR 3A0C: "
"No memory, skip by switch load sorting.\n");
return;
}
@@ -814,7 +814,7 @@ static int ucast_mgr_build_lfts(osm_ucast_mgr_t *p_mgr)
if (parse_node_map(p_mgr->p_subn->opt.guid_routing_order_file,
add_guid_to_order_list, p_mgr))
- OSM_LOG(p_mgr->p_log, OSM_LOG_ERROR, "ERR : "
+ OSM_LOG(p_mgr->p_log, OSM_LOG_ERROR, "ERR 3A0D: "
"cannot parse guid routing order file \'%s\'\n",
p_mgr->p_subn->opt.guid_routing_order_file);
} else
@@ -825,7 +825,7 @@ static int ucast_mgr_build_lfts(osm_ucast_mgr_t *p_mgr)
clear_prof_ignore_flag, NULL);
if (parse_node_map(p_mgr->p_subn->opt.port_prof_ignore_file,
mark_ignored_port, p_mgr)) {
- OSM_LOG(p_mgr->p_log, OSM_LOG_ERROR, "ERR : "
+ OSM_LOG(p_mgr->p_log, OSM_LOG_ERROR, "ERR 3A0E: "
"cannot parse port prof ignore file \'%s\'\n",
p_mgr->p_subn->opt.port_prof_ignore_file);
}
--
1.5.6.4
More information about the general
mailing list