Skip to content

Commit b83c5db

Browse files
committed
osc/rdma: fix typo in ompi_osc_rdma_lock_acquire_exclusive
Fixes #3575 Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 93078ad commit b83c5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/osc/rdma/osc_rdma_lock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ static inline int ompi_osc_rdma_lock_acquire_exclusive (ompi_osc_rdma_module_t *
311311
{
312312
int ret;
313313

314-
while (1 != (ret = ompi_osc_rdma_lock_try_acquire_exclusive (module, peer, offset))) {
314+
while (1 == (ret = ompi_osc_rdma_lock_try_acquire_exclusive (module, peer, offset))) {
315315
ompi_osc_rdma_progress (module);
316316
}
317317

0 commit comments

Comments
 (0)