diff options
author | Chris Hogan <chogan@hdfgroup.org> | 2019-11-08 21:29:37 (GMT) |
---|---|---|
committer | Chris Hogan <chogan@hdfgroup.org> | 2019-11-08 21:29:37 (GMT) |
commit | 07ff0a842a41f4e6a257d9e957e5fbc5628d996e (patch) | |
tree | 9f39d60a8d7884aaab937677880ae7cb4a7cef55 | |
parent | 2eeda063bab4f82fef348383e5ef03023390a306 (diff) | |
download | hdf5-07ff0a842a41f4e6a257d9e957e5fbc5628d996e.zip hdf5-07ff0a842a41f4e6a257d9e957e5fbc5628d996e.tar.gz hdf5-07ff0a842a41f4e6a257d9e957e5fbc5628d996e.tar.bz2 |
Use major error code of calling package
-rw-r--r-- | src/H5L.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |