Skip to content

Commit 39bcbe4

Browse files
committed
osc/pt2pt: Fix a struct name typo
Fortunately the sizes of `ompi_osc_pt2pt_header_put_t` and `ompi_osc_pt2pt_header_get_t` are same. So this doesn't affect the behavior.
1 parent c72688e commit 39bcbe4

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
@@ -786,7 +786,7 @@ static inline int ompi_osc_pt2pt_rget_internal (void *origin_addr, int origin_co
786786
ret = ompi_osc_pt2pt_frag_alloc(module, target, frag_len, &frag, &ptr, false, release_req);
787787
if (OMPI_SUCCESS != ret) {
788788
/* allocate space for the header plus space to store ddt_len */
789-
frag_len = sizeof(ompi_osc_pt2pt_header_put_t) + 8;
789+
frag_len = sizeof(ompi_osc_pt2pt_header_get_t) + 8;
790790
ret = ompi_osc_pt2pt_frag_alloc(module, target, frag_len, &frag, &ptr, false, release_req);
791791
if (OPAL_UNLIKELY(OMPI_SUCCESS != ret)) {
792792
return OMPI_ERR_OUT_OF_RESOURCE;

0 commit comments

Comments
 (0)