diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-02-05 20:21:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-02-05 20:21:31 (GMT) |
commit | 3c882637c2ca6b13337f3a32d92ea2bc9c068fde (patch) | |
tree | 4f8669a66d9041a5f3f4c1803c704d1a7265bc2f /src/H5Goh.c | |
parent | 4adbc1e1db51c50f0f0187abfbb4c640b1ec2d1b (diff) | |
download | hdf5-3c882637c2ca6b13337f3a32d92ea2bc9c068fde.zip hdf5-3c882637c2ca6b13337f3a32d92ea2bc9c068fde.tar.gz hdf5-3c882637c2ca6b13337f3a32d92ea2bc9c068fde.tar.bz2 |
[svn-r16444] Description:
Bring r16412:16440 from trunk into revise_chunks branch.
Tested on:
FreeBSD/32 6.3(duty)
(h5committest not required on this branch)
Diffstat (limited to 'src/H5Goh.c')
-rw-r--r-- | src/H5Goh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Goh.c b/src/H5Goh.c index aa0fbe6..d727cb7 100644 --- a/src/H5Goh.c +++ b/src/H5Goh.c @@ -110,9 +110,9 @@ H5O_group_isa(struct H5O_t *oh) /* Check for any of the messages that indicate a group */ if((stab_exists = H5O_msg_exists_oh(oh, H5O_STAB_ID)) < 0) - HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header") + HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header") if((linfo_exists = H5O_msg_exists_oh(oh, H5O_LINFO_ID)) < 0) - HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header") + HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header") ret_value = (stab_exists > 0 || linfo_exists > 0); @@ -273,7 +273,7 @@ H5O_group_bh_info(H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5_ih_info_t *bh_info) /* Check for "new style" group info */ if((exists = H5O_msg_exists_oh(oh, H5O_LINFO_ID)) < 0) - HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header") + HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read object header") if(exists > 0) { H5O_linfo_t linfo; /* Link info message */ |