From 39bcbe439ac41362508717d40ae96506a9da96f9 Mon Sep 17 00:00:00 2001 From: KAWASHIMA Takahiro Date: Mon, 11 Apr 2016 20:55:22 +0900 Subject: [PATCH] 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. --- ompi/mca/osc/pt2pt/osc_pt2pt_comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/osc/pt2pt/osc_pt2pt_comm.c b/ompi/mca/osc/pt2pt/osc_pt2pt_comm.c index 1205767f01..6210930f86 100644 --- a/ompi/mca/osc/pt2pt/osc_pt2pt_comm.c +++ b/ompi/mca/osc/pt2pt/osc_pt2pt_comm.c @@ -786,7 +786,7 @@ static inline int ompi_osc_pt2pt_rget_internal (void *origin_addr, int origin_co ret = ompi_osc_pt2pt_frag_alloc(module, target, frag_len, &frag, &ptr, false, release_req); if (OMPI_SUCCESS != ret) { /* allocate space for the header plus space to store ddt_len */ - frag_len = sizeof(ompi_osc_pt2pt_header_put_t) + 8; + frag_len = sizeof(ompi_osc_pt2pt_header_get_t) + 8; ret = ompi_osc_pt2pt_frag_alloc(module, target, frag_len, &frag, &ptr, false, release_req); if (OPAL_UNLIKELY(OMPI_SUCCESS != ret)) { return OMPI_ERR_OUT_OF_RESOURCE;