Commit 64b77563 authored by Jithin Jose's avatar Jithin Jose Committed by Charles J Archer
Browse files

OFI: Set address length correctly while adding to business card


Signed-off-by: default avatarJithin Jose <jithin.jose@intel.com>
Signed-off-by: default avatarCharles J Archer <charles.j.archer@intel.com>
parent 43da8bb0
......@@ -595,7 +595,7 @@ int MPID_nem_ofi_get_business_card(int my_rank ATTRIBUTE((unused)),
str_errno = MPIU_Str_add_binary_arg(bc_val_p,
val_max_sz_p,
"OFI",
(char *) &gl_data.bound_addr, sizeof(gl_data.bound_addr));
(char *) &gl_data.bound_addr, gl_data.bound_addrlen);
if (str_errno) {
MPIU_ERR_CHKANDJUMP(str_errno == MPIU_STR_NOMEM, mpi_errno, MPI_ERR_OTHER, "**buscard_len");
MPIU_ERR_SETANDJUMP(mpi_errno, MPI_ERR_OTHER, "**buscard");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment