[ofa-general] [PATCH 2/8] [ib-diag] vendstat: add support for WinOF
Sean Hefty
sean.hefty at intel.com
Tue Feb 17 14:31:31 PST 2009
Allow vendstat to build and run on both Linux and Windows. Window
build files are maintained in the WinOF repository. 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/vendstat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/infiniband-diags/src/vendstat.c b/infiniband-diags/src/vendstat.c
index 7e8b162..db87e38 100644
--- a/infiniband-diags/src/vendstat.c
+++ b/infiniband-diags/src/vendstat.c
@@ -134,7 +134,7 @@ int main(int argc, char **argv)
const struct ibdiag_opt opts[] = {
{ "N", 'N', 0, NULL, "show IS3 general information"},
{ "w", 'w', 0, NULL, "show IS3 port xmit wait counters"},
- {}
+ { 0 }
};
char usage_args[] = "<lid|guid>";
const char *usage_examples[] = {
More information about the general
mailing list