[ofa-general] [PATCH] saquery: fix -c arguement
Doron Shoham
dorons at voltaire.com
Sun May 10 04:30:13 PDT 2009
set SAQUERY_CMD_CLASS_PORT_INFO instead of CLASS_PORT_INFO
Signed-off-by: Doron Shoham <dorons at voltaire.com>
---
infiniband-diags/src/saquery.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/infiniband-diags/src/saquery.c b/infiniband-diags/src/saquery.c
index 4dcd712..5920eda 100644
--- a/infiniband-diags/src/saquery.c
+++ b/infiniband-diags/src/saquery.c
@@ -1470,7 +1470,7 @@ static int process_opt(void *context, int ch, char *optarg)
node_print_desc = ALL_DESC;
break;
case 'c':
- command = CLASS_PORT_INFO;
+ command = SAQUERY_CMD_CLASS_PORT_INFO;
break;
case 'S':
query_type = IB_SA_ATTR_SERVICERECORD;
--
1.5.4
Sorry,
forgot ';'
Thanks,
Doron
More information about the general
mailing list