summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-10-24 19:16:47 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-10-24 19:16:47 (GMT)
commitc34c130fe57fd3e57bed8393603d5365d8137636 (patch)
tree1afa5da60d840e0b15a5f74e8dc53c5a89b86176
parent9cef4137d0e950cf3b052d598a576ec28723b252 (diff)
parent7ee40947e1808e63666f3129c30b3d52ac15d4e8 (diff)
downloadhdf5-c34c130fe57fd3e57bed8393603d5365d8137636.zip
hdf5-c34c130fe57fd3e57bed8393603d5365d8137636.tar.gz
hdf5-c34c130fe57fd3e57bed8393603d5365d8137636.tar.bz2
Merge pull request #722 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '7ee40947e1808e63666f3129c30b3d52ac15d4e8': Correct typo
-rw-r--r--tools/src/h5repack/h5repack_copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5repack/h5repack_copy.c b/tools/src/h5repack/h5repack_copy.c
index 5487c27..e205fba 100644
--- a/tools/src/h5repack/h5repack_copy.c
+++ b/tools/src/h5repack/h5repack_copy.c
@@ -920,7 +920,7 @@ int do_copy_objects(hid_t fidin, hid_t fidout, trav_table_t *travt,
if(H5Dread(dset_in, wtype_id, H5S_ALL, H5S_ALL, H5P_DEFAULT, buf) < 0)
HGOTO_ERROR(FAIL, H5E_tools_min_id_g, "H5Dread failed");
if(H5Dwrite(dset_out, wtype_id, H5S_ALL, H5S_ALL, H5P_DEFAULT, buf) < 0)
- HGOTO_ERROR(FAIL, H5E_tools_min_id_g, "H5Dread failed");
+ HGOTO_ERROR(FAIL, H5E_tools_min_id_g, "H5Dwrite failed");
/* Check if we have VL data in the dataset's
* datatype that must be reclaimed */
@@ -1011,7 +1011,7 @@ int do_copy_objects(hid_t fidin, hid_t fidout, trav_table_t *travt,
if(H5Dread(dset_in, wtype_id, hslab_space, f_space_id, H5P_DEFAULT, hslab_buf) < 0)
HGOTO_ERROR(FAIL, H5E_tools_min_id_g, "H5Dread failed");
if(H5Dwrite(dset_out, wtype_id, hslab_space, f_space_id, H5P_DEFAULT, hslab_buf) < 0)
- HGOTO_ERROR(FAIL, H5E_tools_min_id_g, "H5Dread failed");
+ HGOTO_ERROR(FAIL, H5E_tools_min_id_g, "H5Dwrite failed");
/* reclaim any VL memory, if necessary */
if (vl_data)