From fad0803920f7089987085040603dc9b90d566c1f Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Mon, 3 Apr 2017 15:54:23 -0600 Subject: [PATCH] osc/rdma: fix typo in atomic code Fixes #3267 Signed-off-by: Nathan Hjelm --- ompi/mca/osc/rdma/osc_rdma_lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/osc/rdma/osc_rdma_lock.h b/ompi/mca/osc/rdma/osc_rdma_lock.h index e06e9742d5..5583711ef2 100644 --- a/ompi/mca/osc/rdma/osc_rdma_lock.h +++ b/ompi/mca/osc/rdma/osc_rdma_lock.h @@ -68,7 +68,7 @@ static inline int ompi_osc_rdma_lock_btl_fop (ompi_osc_rdma_module_t *module, om } if (NULL != frag) { - if (*result) { + if (result) { *result = *temp; } ompi_osc_rdma_frag_complete (frag);