summaryrefslogtreecommitdiffstats
path: root/src/H5Cquery.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-03-22 17:54:25 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-03-22 17:54:25 (GMT)
commit46c9ab600de491657520897322b75659c3bdfb5f (patch)
treeec3ba075637c098d0354b173c711cc4a3163cbb5 /src/H5Cquery.c
parent161a3b95165957b772e56b6f84fe7923fd3ddd11 (diff)
downloadhdf5-46c9ab600de491657520897322b75659c3bdfb5f.zip
hdf5-46c9ab600de491657520897322b75659c3bdfb5f.tar.gz
hdf5-46c9ab600de491657520897322b75659c3bdfb5f.tar.bz2
Minor style cleanups
Diffstat (limited to 'src/H5Cquery.c')
-rw-r--r--src/H5Cquery.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Cquery.c b/src/H5Cquery.c
index 1ae70e2..5108013 100644
--- a/src/H5Cquery.c
+++ b/src/H5Cquery.c
@@ -473,9 +473,9 @@ H5C_get_mdc_image_info(H5C_t * cache_ptr, haddr_t *image_addr, hsize_t *image_le
FUNC_ENTER_NOAPI(FAIL)
if((cache_ptr == NULL) || (cache_ptr->magic != H5C__H5C_T_MAGIC))
- HGOTO_ERROR(H5E_CACHE, H5E_SYSTEM, FAIL, "Bad cache_ptr on entry.")
+ HGOTO_ERROR(H5E_CACHE, H5E_BADVALUE, FAIL, "bad cache_ptr on entry")
if(image_addr == NULL || image_len == NULL)
- HGOTO_ERROR(H5E_CACHE, H5E_SYSTEM, FAIL, "Bad image_addr or image_len on entry.")
+ HGOTO_ERROR(H5E_CACHE, H5E_BADVALUE, FAIL, "bad image_addr or image_len on entry")
*image_addr = cache_ptr->image_addr;
*image_len = cache_ptr->image_len;
@@ -483,3 +483,4 @@ H5C_get_mdc_image_info(H5C_t * cache_ptr, haddr_t *image_addr, hsize_t *image_le
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5C_get_mdc_image_info() */
+