Skip to content

Commit 3245428

Browse files
committed
Merge pull request #1535 from kawashima-fj/pr/osc-pt2pt-header-fix
osc/pt2pt: Fix a struct name typo
2 parents 4566286 + 39bcbe4 commit 3245428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/osc/pt2pt/osc_pt2pt_comm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ static inline int ompi_osc_pt2pt_rget_internal (void *origin_addr, int origin_co
788788
ret = ompi_osc_pt2pt_frag_alloc(module, target, frag_len, &frag, &ptr, false, release_req);
789789
if (OMPI_SUCCESS != ret) {
790790
/* allocate space for the header plus space to store ddt_len */
791-
frag_len = sizeof(ompi_osc_pt2pt_header_put_t) + 8;
791+
frag_len = sizeof(ompi_osc_pt2pt_header_get_t) + 8;
792792
ret = ompi_osc_pt2pt_frag_alloc(module, target, frag_len, &frag, &ptr, false, release_req);
793793
if (OPAL_UNLIKELY(OMPI_SUCCESS != ret)) {
794794
return OMPI_ERR_OUT_OF_RESOURCE;

0 commit comments

Comments
 (0)