summaryrefslogtreecommitdiffstats
path: root/src/H5B2.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-11-29 20:06:37 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-11-29 20:06:37 (GMT)
commitd3dbe9d90ee71b231b3264e1d62d3efbae3242ef (patch)
treeb8d706ac89af0822c0ac5cf0e1ab78fa5c3b5b1e /src/H5B2.c
parent8fd8115715a2890da432cf2708109a35ea1c33e5 (diff)
parent3d2beeec1fb63c8c2bac4658df382ea7a9d61e05 (diff)
downloadhdf5-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5B2.c b/src/H5B2.c
index bce6a9f..af5fae7 100644
--- a/src/H5B2.c
+++ b/src/H5B2.c
@@ -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 */