summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c
index a5cbad8..5486a16 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -110,7 +110,7 @@ herr_t
h5_errors(void UNUSED *client_data)
{
H5_FAILED();
- H5Eprint (stdout);
+ H5Eprint (H5E_DEFAULT, stdout);
return 0;
}
@@ -212,7 +212,7 @@ h5_reset(void)
HDfflush(stdout);
HDfflush(stderr);
H5close();
- H5Eset_auto (h5_errors, NULL);
+ H5Eset_auto (H5E_DEFAULT, h5_errors, NULL);
/*
* Cause the library to emit some diagnostics early so they don't