Count ports from 0 - there is no duplicated records anymore.

Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]>
---
 opensm/osmtest/main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/opensm/osmtest/main.c b/opensm/osmtest/main.c
index d95d5c8..1c9004b 100644
--- a/opensm/osmtest/main.c
+++ b/opensm/osmtest/main.c
@@ -235,10 +235,9 @@ static void print_all_guids(IN osmtest_t * p_osmt)
        }
 
        printf("\nListing GUIDs:\n");
-       for (i = 1; i < num_ports; i++) {       /* excluding logical mgmt port 
*/
+       for (i = 0; i < num_ports; i++)
                printf("Port %i: 0x%" PRIx64 "\n", i,
                       cl_hton64(attr_array[i].port_guid));
-       }
 }
 
 /**********************************************************************
-- 
1.5.3.rc2.29.gc4640f

_______________________________________________
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

Reply via email to