diff mbox

osm_dump.c: Fix typo in dump_lid_matrix

Message ID 51251DBF.4090704@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hal Rosenstock Feb. 20, 2013, 7:02 p.m. UTC
Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
---
 opensm/osm_dump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/opensm/osm_dump.c b/opensm/osm_dump.c
index cfdb8ef..b9bd6ed 100644
--- a/opensm/osm_dump.c
+++ b/opensm/osm_dump.c
@@ -320,7 +320,7 @@  static void dump_lid_matrix(cl_map_item_t * item, FILE * file, void *cxt)
 				osm_switch_get_hop_count(p_sw, lid, port));
 		p_port = osm_get_port_by_lid_ho(&p_osm->subn, lid);
 		if (p_port)
-			fprintf(file, " # portguid 0x016%" PRIx64,
+			fprintf(file, " # portguid 0x%016" PRIx64,
 				cl_ntoh64(osm_port_get_guid(p_port)));
 		fprintf(file, "\n");
 	}