From d80f14eb0fe3e3c8d9cea7636f196c159f366cff Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Wed, 30 Apr 2014 22:10:22 +0000 Subject: [PATCH] sbgp/ptp: fix obvious typo cmr=v1.8.2:reviewer=manjugv This commit was SVN r31575. --- ompi/mca/sbgp/p2p/sbgp_p2p_component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/sbgp/p2p/sbgp_p2p_component.c b/ompi/mca/sbgp/p2p/sbgp_p2p_component.c index 1f506ea712..6fbee901e2 100644 --- a/ompi/mca/sbgp/p2p/sbgp_p2p_component.c +++ b/ompi/mca/sbgp/p2p/sbgp_p2p_component.c @@ -190,7 +190,7 @@ static mca_sbgp_base_module_t * mca_sbgp_p2p_select_procs(struct ompi_proc_t ** int num_btls = mca_bml_base_btl_array_get_size(&(endpoint->btl_eager)); /* loop over btls */ - for (int i_btl = 0 ; num_btls ; ++i_btl) { + for (int i_btl = 0 ; i_btl < num_btls ; ++i_btl) { /* I am checking for specific btl */ if (strcmp(endpoint->btl_eager.bml_btls[i_btl].btl-> btl_component->btl_version.mca_component_name, key)) {