summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-26 20:48:44 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-26 20:48:44 (GMT)
commitd859bc4ba7ff2336a5ef33d94a2ef617a202613b (patch)
tree333deaea7bfb373d1611745a102587b51dc0f919 /src
parent9d5bb32b83ddb18b0a6fbba139932a9d883d2b23 (diff)
downloadhdf5-d859bc4ba7ff2336a5ef33d94a2ef617a202613b.zip
hdf5-d859bc4ba7ff2336a5ef33d94a2ef617a202613b.tar.gz
hdf5-d859bc4ba7ff2336a5ef33d94a2ef617a202613b.tar.bz2
Pass the right parameter, H5F_shared_t * not H5F_t *. (Grr, serious warnings
not treated as errors....)
Diffstat (limited to 'src')
-rw-r--r--src/H5MVsection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5MVsection.c b/src/H5MVsection.c
index 2968e30..5838130 100644
--- a/src/H5MVsection.c
+++ b/src/H5MVsection.c
@@ -346,7 +346,7 @@ H5MV__sect_shrink(H5FS_section_info_t **_sect, void *_udata)
HDassert(H5F_INTENT(f) & H5F_ACC_RDWR);
/* Release section's space at EOA */
- if(H5MV__free_md(f, (*sect)->sect_info.addr, (*sect)->sect_info.size) < 0)
+ if(H5MV__free_md(f->shared, (*sect)->sect_info.addr, (*sect)->sect_info.size) < 0)
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTFREE, FAIL, "free request for VFD SWMR metadata file failed")
/* Free the section */