[ofa-general] [PATCH 3/8] [ib-diag] ibaddr: add support for WinOF
Sean Hefty
sean.hefty at intel.com
Tue Feb 17 14:32:05 PST 2009
Allow ibaddr 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/ibaddr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/infiniband-diags/src/ibaddr.c b/infiniband-diags/src/ibaddr.c
index 88ad904..9098699 100644
--- a/infiniband-diags/src/ibaddr.c
+++ b/infiniband-diags/src/ibaddr.c
@@ -112,7 +112,7 @@ int main(int argc, char **argv)
{ "gid_show", 'g', 0, NULL, "show gid address only"},
{ "lid_show", 'l', 0, NULL, "show lid range only"},
{ "Lid_show", 'L', 0, NULL, "show lid range (in decimal) only"},
- {}
+ { 0 }
};
char usage_args[] = "[<lid|dr_path|guid>]";
const char *usage_examples[] = {
More information about the general
mailing list