summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2019-02-11 16:58:58 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2019-02-14 17:53:36 (GMT)
commit35f48aac5b2e10d6c3e2b3176bbde6aad209c758 (patch)
tree071fde9e228c1bb4574bf1606b134677631b793e /src
parent0527ced1c7eb3f7ae8f43c0c705a1cb73539bd35 (diff)
downloadhdf5-35f48aac5b2e10d6c3e2b3176bbde6aad209c758.zip
hdf5-35f48aac5b2e10d6c3e2b3176bbde6aad209c758.tar.gz
hdf5-35f48aac5b2e10d6c3e2b3176bbde6aad209c758.tar.bz2
Re-write of Java JNI error handling
Diffstat (limited to 'src')
-rw-r--r--src/H5Torder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Torder.c b/src/H5Torder.c
index 877316d..462b732 100644
--- a/src/H5Torder.c
+++ b/src/H5Torder.c
@@ -100,11 +100,11 @@ H5Tget_order(hid_t type_id)
/* Check args */
if(NULL == (dt = (H5T_t *)H5I_object_verify(type_id, H5I_DATATYPE)))
- HGOTO_ERROR(H5E_DATATYPE, H5E_BADTYPE, H5T_ORDER_ERROR, "not a datatype")
+ HGOTO_ERROR(H5E_DATATYPE, H5E_BADTYPE, H5T_ORDER_ERROR, "not a datatype")
/* Get order */
if(H5T_ORDER_ERROR == (ret_value = H5T_get_order(dt)))
- HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, H5T_ORDER_ERROR, "cant't get order for specified datatype")
+ HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, H5T_ORDER_ERROR, "can't get order for specified datatype")
done:
FUNC_LEAVE_API(ret_value)