From b95537376f50243128567f893ae8d1f5fbc49596 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Wed, 30 Jul 2014 05:38:53 +0000 Subject: [PATCH] bcol/basesmuma: fix parameter order Ref: #4815 This commit was SVN r32353. --- ompi/mca/bcol/basesmuma/bcol_basesmuma_smcm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ompi/mca/bcol/basesmuma/bcol_basesmuma_smcm.c b/ompi/mca/bcol/basesmuma/bcol_basesmuma_smcm.c index 2793269842..2116830f7e 100644 --- a/ompi/mca/bcol/basesmuma/bcol_basesmuma_smcm.c +++ b/ompi/mca/bcol/basesmuma/bcol_basesmuma_smcm.c @@ -232,9 +232,9 @@ int bcol_basesmuma_smcm_allgather_connection( OPAL_LIST_FOREACH(item_ptr, peer_list, bcol_basesmuma_smcm_proc_item_t) { /* if the vpid/jobid/filename combination already exists in the list, then do not map this peer's file --- because you already have */ - if (0 == ompi_rte_compare_name_fields(proc_temp->super.proc_name, - &item_ptr->peer, - OMPI_RTE_CMP_ALL) && + if (0 == ompi_rte_compare_name_fields(OMPI_RTE_CMP_ALL, + proc_temp->super.proc_name, + &item_ptr->peer) && 0 == strcmp (item_ptr->sm_file.file_name, rem_file->file_name)) { ++item_ptr->refcnt; /* record file data */