summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Hogan <chogan@hdfgroup.org>2019-11-08 21:29:37 (GMT)
committerChris Hogan <chogan@hdfgroup.org>2019-11-08 21:29:37 (GMT)
commit07ff0a842a41f4e6a257d9e957e5fbc5628d996e (patch)
tree9f39d60a8d7884aaab937677880ae7cb4a7cef55 /src
parent2eeda063bab4f82fef348383e5ef03023390a306 (diff)
downloadhdf5-07ff0a842a41f4e6a257d9e957e5fbc5628d996e.zip
hdf5-07ff0a842a41f4e6a257d9e957e5fbc5628d996e.tar.gz
hdf5-07ff0a842a41f4e6a257d9e957e5fbc5628d996e.tar.bz2
Use major error code of calling package
Diffstat (limited to 'src')
-rw-r--r--src/H5L.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 5f9ed73..966887b 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -1860,7 +1860,7 @@ H5L__link_cb(H5G_loc_t *grp_loc/*in*/, const char *name, const H5O_link_t H5_ATT
if(udata->lc_plist) {
/* Get character encoding property */
if(H5CX_get_encoding(&udata->lnk->cset) < 0)
- HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get 'character set' property")
+ HGOTO_ERROR(H5E_LINK, H5E_CANTGET, FAIL, "can't get 'character set' property")
} /* end if */
else
udata->lnk->cset = H5F_DEFAULT_CSET; /* Default character encoding for link */
@@ -2002,7 +2002,7 @@ H5L__create_real(const H5G_loc_t *link_loc, const char *link_name,
/* Get intermediate group creation property */
if(H5CX_get_intermediate_group(&crt_intmd_group) < 0)
- HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get 'create intermediate group' property")
+ HGOTO_ERROR(H5E_LINK, H5E_CANTGET, FAIL, "can't get 'create intermediate group' property")
if(crt_intmd_group > 0)
target_flags |= H5G_CRT_INTMD_GROUP;