From c15c3dee4c407cc76bfbc29f40e4fd300b00a142 Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Tue, 13 May 2014 22:37:01 +0000 Subject: [PATCH] common/ugni: fix bugs in r31557 This commit was SVN r31748. The following SVN revision numbers were found above: r31557 --> open-mpi/ompi@c4c9bc157322a3f9f0b42430c4df6b734b4fed5d --- ompi/mca/common/ugni/common_ugni.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ompi/mca/common/ugni/common_ugni.c b/ompi/mca/common/ugni/common_ugni.c index a7ab592b82..9b60ace838 100644 --- a/ompi/mca/common/ugni/common_ugni.c +++ b/ompi/mca/common/ugni/common_ugni.c @@ -250,12 +250,12 @@ int ompi_common_ugni_init (void) ptr = &my_rank; OBJ_CONSTRUCT(&myvals, opal_list_t); rc = opal_dstore.fetch (opal_dstore_internal, - ORTE_NAME_PRINT(&my_proc->proc_name), + (opal_identifier_t *)&my_proc->proc_name, OMPI_DB_GLOBAL_RANK, &myvals); if (OPAL_SUCCESS == rc) { - kv = (opal_value_t*)opal_list_get_first(&myvals): - if (OPAL_SUCCESS != opal_value_unload(&kv, (void**)&ptr, OPAL_UINT32)) { + kv = (opal_value_t*)opal_list_get_first(&myvals); + if (OPAL_SUCCESS != opal_value_unload(kv, (void**)&ptr, OPAL_UINT32)) { my_rank = my_proc->proc_name.vpid; } } else {