[ofa-general] [PATCH] infiniband-diags/ibroute.c: Fix format and typo in printf

Hal Rosenstock hnrose at comcast.net
Thu Jul 9 12:39:15 PDT 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/infiniband-diags/src/ibroute.c b/infiniband-diags/src/ibroute.c
index 31b8e4c..ad6d94c 100644
--- a/infiniband-diags/src/ibroute.c
+++ b/infiniband-diags/src/ibroute.c
@@ -186,7 +186,7 @@ dump_multicast_tables(ib_portid_t *portid, unsigned startlid, unsigned endlid)
 		printf(" MLid\n");
 	}
 	if (ibverbose)
-		printf("Switch muticast mlids capability is 0x%d\n", cap);
+		printf("Switch multicast mlid capability is %d\n", cap);
 
 	chunks = ALIGN(nports + 1, 16) / 16;
 



More information about the general mailing list