summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5E.c4
-rw-r--r--test/testfiles/err_compat_12
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 70bafb4..9f955f0 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -766,7 +766,7 @@ H5Eget_major(H5E_major_t maj)
char *msg_str;
char *ret_value = NULL;
- FUNC_ENTER_API(H5Eget_major)
+ FUNC_ENTER_API_NOCLEAR(H5Eget_major,NULL)
/* Get the message object */
if((msg = H5I_object_verify(maj, H5I_ERROR_MSG))==NULL)
@@ -816,7 +816,7 @@ H5Eget_minor(H5E_minor_t min)
char *msg_str;
char *ret_value = NULL;
- FUNC_ENTER_API(H5Eget_minor)
+ FUNC_ENTER_API_NOCLEAR(H5Eget_minor,NULL)
/* Get the message object */
if((msg = H5I_object_verify(min, H5I_ERROR_MSG))==NULL)
diff --git a/test/testfiles/err_compat_1 b/test/testfiles/err_compat_1
index 3a14838..8c5afbf 100644
--- a/test/testfiles/err_compat_1
+++ b/test/testfiles/err_compat_1
@@ -2,7 +2,7 @@
Expected output for err_compat
#############################
Testing error API based on data I/O All error API tests passed.
- This program tests the Error API compatible with HDF5 v1.6. There're supposed to be some error messages
+ This program tests the Error API compatible with HDF5 vversion (number) There're supposed to be some error messages
********* Print error stack in HDF5 default way *********
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#000: (file name) line (number) in main(): Error test failed