summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Hogan <chogan@hdfgroup.org>2019-11-08 21:29:37 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:17:26 (GMT)
commit45f56375dcb424a1353769462ffc8f1f0da27dc6 (patch)
tree9ae75ff4a343a61e61300dd2cff782e1f0f49e6e /src
parente5b0979bf74ec8afaafae6ff0b7f7233847994e1 (diff)
downloadhdf5-45f56375dcb424a1353769462ffc8f1f0da27dc6.zip
hdf5-45f56375dcb424a1353769462ffc8f1f0da27dc6.tar.gz
hdf5-45f56375dcb424a1353769462ffc8f1f0da27dc6.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;