[ofa-general] ***SPAM*** [PATCH] infiniband-diags/smpdump.c: Fix usage examples

Hal Rosenstock hnrose at comcast.net
Wed Feb 18 07:55:37 PST 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/infiniband-diags/src/smpdump.c b/infiniband-diags/src/smpdump.c
index e224909..7a8119f 100644
--- a/infiniband-diags/src/smpdump.c
+++ b/infiniband-diags/src/smpdump.c
@@ -226,11 +226,11 @@ int main(int argc, char *argv[])
 	char usage_args[] = "<dlid|dr_path> <attr> [mod]";
 	const char *usage_examples[] = {
 		" -- DR routed examples:",
-		"%s -D 0,1,2,3,5 16	# NODE DESC",
-		"%s -D 0,1,2 0x15 2	# PORT INFO, port 2",
+		"-D 0,1,2,3,5 16	# NODE DESC",
+		"-D 0,1,2 0x15 2	# PORT INFO, port 2",
 		" -- LID routed examples:",
-		"%s 3 0x15 2	# PORT INFO, lid 3 port 2",
-		"%s 0xa0 0x11	# NODE INFO, lid 0xa0",
+		"3 0x15 2	# PORT INFO, lid 3 port 2",
+		"0xa0 0x11	# NODE INFO, lid 0xa0",
 		NULL
 	};
 



More information about the general mailing list