Skip to content

Commit d5cd796

Browse files
authored
Merge pull request #9512 from bwbarrett/bugfix/ofi-common-how-does-error-handling-work-again
Fix OFI/common compile error for old LIbfabric and DSO runtime cleanup error
2 parents 168b307 + c7a2619 commit d5cd796

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

opal/mca/common/ofi/common_ofi.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <errno.h>
2222
#include <unistd.h>
2323
#include <rdma/fabric.h>
24+
#include <rdma/fi_errno.h>
2425
#ifdef HAVE_RDMA_FI_EXT_H
2526
#include <rdma/fi_ext.h>
2627
#endif
@@ -186,9 +187,9 @@ int opal_common_ofi_export_memory_monitor(void)
186187
if (NULL != opal_common_ofi_monitor) {
187188
free(opal_common_ofi_monitor);
188189
}
189-
}
190190

191-
opal_common_ofi_installed_memory_monitor = false;
191+
opal_common_ofi_installed_memory_monitor = false;
192+
}
192193

193194
OPAL_THREAD_UNLOCK(&opal_common_ofi_mutex);
194195
#endif

0 commit comments

Comments
 (0)