summaryrefslogtreecommitdiffstats
path: root/test/error_test.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2016-01-22 16:56:09 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2016-01-22 16:56:09 (GMT)
commitc3f08947c1fbca8f6ccd87ca35f0f23b6209b129 (patch)
treea87fa70f66b23e898e462a3a3104720cd1ca7ca5 /test/error_test.c
parentd543f1247312741e0e33dcf6bddc5a73b842e5d0 (diff)
parent91aeb766fafbc4c03d98699de4cac590df9c63a3 (diff)
downloadhdf5-c3f08947c1fbca8f6ccd87ca35f0f23b6209b129.zip
hdf5-c3f08947c1fbca8f6ccd87ca35f0f23b6209b129.tar.gz
hdf5-c3f08947c1fbca8f6ccd87ca35f0f23b6209b129.tar.bz2
[svn-r28959] merge from trunk.
renaming metadata dxpl properties.
Diffstat (limited to 'test/error_test.c')
-rw-r--r--test/error_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/error_test.c b/test/error_test.c
index 4e4c0ef..ee181b1 100644
--- a/test/error_test.c
+++ b/test/error_test.c
@@ -498,7 +498,7 @@ test_create(void)
if(err_num != 0) TEST_ERROR
/* Push an error with a long description */
- if(H5Epush(estack_id, __FILE__, err_func, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, err_msg) < 0) TEST_ERROR;
+ if(H5Epush(estack_id, __FILE__, err_func, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, "%s", err_msg) < 0) TEST_ERROR;
/* Check the number of errors on stack */
err_num = H5Eget_num(estack_id);
@@ -543,7 +543,7 @@ test_copy(void)
herr_t ret; /* Generic return value */
/* Push an error with a long description */
- if(H5Epush(H5E_DEFAULT, __FILE__, err_func, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, err_msg) < 0) TEST_ERROR;
+ if(H5Epush(H5E_DEFAULT, __FILE__, err_func, __LINE__, ERR_CLS, ERR_MAJ_TEST, ERR_MIN_SUBROUTINE, "%s", err_msg) < 0) TEST_ERROR;
/* Check the number of errors on stack */
err_num = H5Eget_num(H5E_DEFAULT);