Allow perfquery to build and run on both Linux and Windows.  Window
build files are maintained in the WinOF respository.  These changes
allow dropping the infiniband-diags into the WinOF build environment.

Signed-off-by: Sean Hefty <[email protected]>
---

 infiniband-diags/src/perfquery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/infiniband-diags/src/perfquery.c b/infiniband-diags/src/perfquery.c
index 8786027..6292743 100644
--- a/infiniband-diags/src/perfquery.c
+++ b/infiniband-diags/src/perfquery.c
@@ -353,7 +353,7 @@ int main(int argc, char **argv)
                { "loop_ports", 'l', 0, NULL, "iterate through each port" },
                { "reset_after_read", 'r', 0, NULL, "reset counters after read" 
},
                { "Reset_only", 'R', 0, NULL, "only reset counters" },
-               { }
+               { 0 }
        };
        char usage_args[] = " [<lid|guid> [[port] [reset_mask]]]";
        const char *usage_examples[] = {



_______________________________________________
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