diff options
Diffstat (limited to 'src/H5FPclient.c')
-rw-r--r-- | src/H5FPclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FPclient.c b/src/H5FPclient.c index 8468a47..2628fb9 100644 --- a/src/H5FPclient.c +++ b/src/H5FPclient.c @@ -883,8 +883,8 @@ H5FP_dump_to_file(H5FD_t *file, hid_t dxpl_id) if (H5FP_read_metadata(&mdata, (int)sap_read.md_size, (int)H5FP_sap_rank) != FAIL) { - if (H5FD_fphdf5_write_real(file, new_dxpl_id, sap_read.addr, - (int)sap_read.md_size, mdata) == FAIL) { + if (H5FD_fphdf5_write_real(file, H5FD_MEM_DEFAULT, plist, + sap_read.addr, (int)sap_read.md_size, mdata) == FAIL) { HDfree(mdata); HGOTO_ERROR(H5E_FPHDF5, H5E_WRITEERROR, FAIL, "can't write metadata to file"); } |