summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-12-08 17:39:25 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-12-08 17:39:25 (GMT)
commit6f52793adcd5a14aa63731e3c33c9737b5a04d16 (patch)
treefc03b707d34b377ed407a17dae574fc6f29d1eb8 /src
parent4643860aa940fb52da251f7023ec2e48d7d10f34 (diff)
parent5d9a93b61d374c427554dd2ff9574539bc8861ab (diff)
downloadhdf5-6f52793adcd5a14aa63731e3c33c9737b5a04d16.zip
hdf5-6f52793adcd5a14aa63731e3c33c9737b5a04d16.tar.gz
hdf5-6f52793adcd5a14aa63731e3c33c9737b5a04d16.tar.bz2
Merge pull request #1363 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor_pr to develop
* commit '5d9a93b61d374c427554dd2ff9574539bc8861ab': Minor tweak to address JIRA HDFFV-10611 (which was already fixed).
Diffstat (limited to 'src')
-rw-r--r--src/H5Tcommit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c
index 610c628..712b264 100644
--- a/src/H5Tcommit.c
+++ b/src/H5Tcommit.c
@@ -155,7 +155,7 @@ H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id,
/* Set up VOL object */
if(NULL == (new_obj = H5FL_CALLOC(H5VL_object_t)))
- HGOTO_ERROR(H5E_VOL, H5E_NOSPACE, FAIL, "can't allocate top object structure")
+ HGOTO_ERROR(H5E_DATATYPE, H5E_CANTALLOC, FAIL, "can't allocate top object structure")
new_obj->connector = vol_obj->connector;
new_obj->connector->nrefs ++;
new_obj->data = data;
@@ -308,7 +308,7 @@ H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
/* Setup VOL object */
if(NULL == (new_obj = H5FL_CALLOC(H5VL_object_t)))
- HGOTO_ERROR(H5E_VOL, H5E_NOSPACE, FAIL, "can't allocate top object structure")
+ HGOTO_ERROR(H5E_DATATYPE, H5E_CANTALLOC, FAIL, "can't allocate top object structure")
new_obj->connector = vol_obj->connector;
new_obj->connector->nrefs ++;
new_obj->data = dt;