Hi Johann,

Running "qperf --help SOME_WRONG_STRING" will fail with core dump.
The following patch should fix it.
Please apply to ofed_1_3 and master.

Thanks

-- Yevgeny

Signed-off-by:  Yevgeny Kliteynik <[EMAIL PROTECTED]>
---
 src/qperf.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qperf.c b/src/qperf.c
index f38247d..dbeae5d 100644
--- a/src/qperf.c
+++ b/src/qperf.c
@@ -713,7 +713,7 @@ do_option(OPTION *option, char ***argvp)
             if (streq(*usage, category))
                 break;
         if (!*usage)
-            error(0, "cannot find help category %s; try: qperf --help");
+            error(0, "cannot find help category %s; try: qperf --help", 
category);
         printf("%s", usage[1]);
         exit(0);
     } else if (streq(t, "host")) {
-- 
1.5.1.4


_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to