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 <[email protected]> --- 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[] = { _______________________________________________ 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
