[ofa-general] opensm/libvendor/osm_vendor_ibumad.c: In clear_madw, fix tid endian in message

Hal Rosenstock hnrose at comcast.net
Wed Mar 4 07:11:38 PST 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>

---
diff --git a/opensm/libvendor/osm_vendor_ibumad.c b/opensm/libvendor/osm_vendor_ibumad.c
index 734a860..a2e15f4 100644
--- a/opensm/libvendor/osm_vendor_ibumad.c
+++ b/opensm/libvendor/osm_vendor_ibumad.c
@@ -112,7 +112,7 @@ static void clear_madw(osm_vendor_t * p_vend)
 			pthread_mutex_unlock(&p_vend->match_tbl_mutex);
 			OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 5401: "
 				"evicting entry %p (tid was 0x%" PRIx64 ")\n",
-				old_m, old_tid);
+				old_m, cl_ntoh64(old_tid));
 			goto Exit;
 		}
 	}



More information about the general mailing list