diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-11-29 20:06:37 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-11-29 20:06:37 (GMT) |
commit | d3dbe9d90ee71b231b3264e1d62d3efbae3242ef (patch) | |
tree | b8d706ac89af0822c0ac5cf0e1ab78fa5c3b5b1e /src/H5B2.c | |
parent | 8fd8115715a2890da432cf2708109a35ea1c33e5 (diff) | |
parent | 3d2beeec1fb63c8c2bac4658df382ea7a9d61e05 (diff) | |
download | hdf5-d3dbe9d90ee71b231b3264e1d62d3efbae3242ef.zip hdf5-d3dbe9d90ee71b231b3264e1d62d3efbae3242ef.tar.gz hdf5-d3dbe9d90ee71b231b3264e1d62d3efbae3242ef.tar.bz2 |
Merge branch 'develop' into eoc_valgrind_bugfix
Diffstat (limited to 'src/H5B2.c')
-rw-r--r-- | src/H5B2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -343,11 +343,11 @@ H5B2_update(H5B2_t *bt2, hid_t dxpl_id, void *udata, H5B2_modify_t op, void *op_ /* Attempt to insert record into B-tree */ if(hdr->depth > 0) { if(H5B2__update_internal(hdr, dxpl_id, hdr->depth, NULL, &hdr->root, &status, H5B2_POS_ROOT, udata, op, op_data) < 0) - HGOTO_ERROR(H5E_BTREE, H5E_CANTINSERT, FAIL, "unable to update record in B-tree internal node") + HGOTO_ERROR(H5E_BTREE, H5E_CANTUPDATE, FAIL, "unable to update record in B-tree internal node") } /* end if */ else { if(H5B2__update_leaf(hdr, dxpl_id, &hdr->root, &status, H5B2_POS_ROOT, udata, op, op_data) < 0) - HGOTO_ERROR(H5E_BTREE, H5E_CANTINSERT, FAIL, "unable to update record in B-tree leaf node") + HGOTO_ERROR(H5E_BTREE, H5E_CANTUPDATE, FAIL, "unable to update record in B-tree leaf node") } /* end else */ /* Sanity check */ |