summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-11 14:09:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-11 14:09:20 (GMT)
commit46b9fb5081bdb8e8980e71e3c13e48cd14992da6 (patch)
treede3fd6a4dad62ae2974630c5abd9e0073d42b428 /src
parentfcb67f0e8606781eb01a53da01d539da4b50966c (diff)
downloadhdf5-46b9fb5081bdb8e8980e71e3c13e48cd14992da6.zip
hdf5-46b9fb5081bdb8e8980e71e3c13e48cd14992da6.tar.gz
hdf5-46b9fb5081bdb8e8980e71e3c13e48cd14992da6.tar.bz2
[svn-r10196] Purpose:
Code cleanup Description: Actually use the new error code defined... :-) Platforms tested: None, too minor to require re-test.
Diffstat (limited to 'src')
-rw-r--r--src/H5B2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5B2.c b/src/H5B2.c
index b82a75c..5109895 100644
--- a/src/H5B2.c
+++ b/src/H5B2.c
@@ -4159,7 +4159,7 @@ H5B2_modify(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, haddr_t addr,
if (H5AC_unprotect(f, dxpl_id, H5AC_BT2_INT, curr_node_ptr.addr, internal, H5AC__NO_FLAGS_SET) < 0)
HGOTO_ERROR(H5E_BTREE, H5E_CANTUNPROTECT, FAIL, "unable to release B-tree node")
- HGOTO_ERROR(H5E_BTREE, H5E_NOTFOUND, FAIL, "'found' callback failed for B-tree find operation")
+ HGOTO_ERROR(H5E_BTREE, H5E_CANTMODIFY, FAIL, "'modify' callback failed for B-tree find operation")
} /* end if */
/* Mark the node as dirty if it changed */
@@ -4212,7 +4212,7 @@ H5B2_modify(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, haddr_t addr,
if (H5AC_unprotect(f, dxpl_id, H5AC_BT2_LEAF, curr_node_ptr.addr, leaf, H5AC__NO_FLAGS_SET) < 0)
HGOTO_ERROR(H5E_BTREE, H5E_CANTUNPROTECT, FAIL, "unable to release B-tree node")
- HGOTO_ERROR(H5E_BTREE, H5E_NOTFOUND, FAIL, "'found' callback failed for B-tree find operation")
+ HGOTO_ERROR(H5E_BTREE, H5E_CANTMODIFY, FAIL, "'modify' callback failed for B-tree find operation")
} /* end if */
} /* end else */