[ofw] [PATCH 4/8] [ib-diag] perfquery: add support for WinOF
Sean Hefty
sean.hefty at intel.com
Tue Feb 17 14:32:38 PST 2009
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 <sean.hefty at intel.com>
---
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[] = {
More information about the ofw
mailing list