diff options
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c index 31ad231..2eb87c1 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -113,7 +113,7 @@ static herr_t h5_errors(void UNUSED *client_data) { H5_FAILED(); - H5Eprint(stdout); + H5Eprint2(H5E_DEFAULT, stdout); return 0; } @@ -215,7 +215,7 @@ h5_reset(void) HDfflush(stdout); HDfflush(stderr); H5close(); - H5Eset_auto(h5_errors, NULL); + H5Eset_auto2(H5E_DEFAULT, h5_errors, NULL); /* * Cause the library to emit some diagnostics early so they don't |