Skip to content

Commit 61d62b6

Browse files
committed
mtl/ofi: fix a botched assignment of av_type
Well now the av_type is being assigned correctly Signed-off-by: Howard Pritchard <[email protected]>
1 parent f3e9a72 commit 61d62b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/mtl/ofi/mtl_ofi_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads,
457457
* The remote fi_addr will be stored in the ofi_endpoint struct.
458458
*/
459459

460-
av_attr.type = (MTL_OFI_AV_TABLE == av_type) ? FI_AV_MAP: FI_AV_TABLE;
460+
av_attr.type = (MTL_OFI_AV_TABLE == av_type) ? FI_AV_TABLE: FI_AV_MAP;
461461

462462
ret = fi_av_open(ompi_mtl_ofi.domain, &av_attr, &ompi_mtl_ofi.av, NULL);
463463
if (ret) {

0 commit comments

Comments
 (0)