[ofa-general] [PATCH] iblinkinfo, ibqueryerrors: clean up ibdiag_process_opts call

Ira Weiny weiny2 at llnl.gov
Wed Jun 24 18:22:35 PDT 2009


From: Ira Weiny <weiny2 at llnl.gov>
Date: Wed, 24 Jun 2009 18:22:14 -0700
Subject: [PATCH] iblinkinfo, ibqueryerrors: clean up ibdiag_process_opts call


Signed-off-by: Ira Weiny <weiny2 at llnl.gov>
---
 infiniband-diags/src/iblinkinfo.c    |    2 +-
 infiniband-diags/src/ibqueryerrors.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/infiniband-diags/src/iblinkinfo.c b/infiniband-diags/src/iblinkinfo.c
index f2dca6b..bba5c5c 100644
--- a/infiniband-diags/src/iblinkinfo.c
+++ b/infiniband-diags/src/iblinkinfo.c
@@ -293,7 +293,7 @@ main(int argc, char **argv)
 	};
 	char usage_args[] = "";
 
-	ibdiag_process_opts(argc, argv, "sDLG", "SDandlpgR", opts, process_opt,
+	ibdiag_process_opts(argc, argv, NULL, "SDandlpgRGL", opts, process_opt,
 			    usage_args, NULL);
 
 	argc -= optind;
diff --git a/infiniband-diags/src/ibqueryerrors.c b/infiniband-diags/src/ibqueryerrors.c
index d443f1d..09f57c5 100644
--- a/infiniband-diags/src/ibqueryerrors.c
+++ b/infiniband-diags/src/ibqueryerrors.c
@@ -409,7 +409,7 @@ main(int argc, char **argv)
 	};
 	char usage_args[] = "";
 
-	ibdiag_process_opts(argc, argv, "sDLG", "scnSrR", opts, process_opt,
+	ibdiag_process_opts(argc, argv, NULL, "scnSrRDGL", opts, process_opt,
 			    usage_args, NULL);
 
 	argc -= optind;
-- 
1.5.4.5




More information about the general mailing list