[openib-general] [PATCH] Opensm - running with console option
Yael Kalka
yael at mellanox.co.il
Sun Jan 22 04:29:18 PST 2006
Hi Hal,
I've noticed that when running opensm with --console, it exits with a
message that option `-console' requires an argument. But I saw in the
main.c that such argument isn't used.
The following patch removes this dependency.
Thanks,
Yael
Signed-off-by: Yael Kalka <yael at mellanox.co.il>
Index: opensm/main.c
===================================================================
--- opensm/main.c (revision 4951)
+++ opensm/main.c (working copy)
@@ -489,7 +489,7 @@ main(
{ "log_file", 1, NULL, 'f'},
{ "erase_log_file",0, NULL, 'e'},
{ "maxsmps", 1, NULL, 'n'},
- { "console", 1, NULL, 'q'},
+ { "console", 0, NULL, 'q'},
{ "V", 0, NULL, 'V'},
{ "help", 0, NULL, 'h'},
{ "once", 0, NULL, 'o'},
More information about the general
mailing list