[openib-general] [PATCH] IB/perftest: Fix ib_read_bw tool to parse -V option

Junaid Shariff sjunaid at novell.com
Mon Nov 6 23:27:10 PST 2006


Hi,

The ib_read_bw tool when used with the -V (version) option returns an
error because it is not being parsed as an option.

Regards,
Junaid
Novell, Inc.

Signed-off-by: Junaid Shariff <sjunaid at novell.com>

Index: userspace/perftest/read_bw.c
===================================================================
--- src/userspace/perftest/read_bw.c    2006-10-19 19:51:09.000000000
+0530
+++ src1/userspace/perftest/read_bw.c   2006-11-06 14:07:20.000000000
+0530
@@ -624,7 +624,7 @@
                        { 0 }
                };

-               c = getopt_long(argc, argv, "p:d:i:m:o:s:n:t:bae",
long_options, NULL);
+               c = getopt_long(argc, argv, "p:d:i:m:o:s:n:t:baeV",
long_options, NULL);
                if (c == -1)
                        break;





More information about the general mailing list