diff options
Diffstat (limited to 'tools/misc/h5debug.c')
-rw-r--r-- | tools/misc/h5debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/misc/h5debug.c b/tools/misc/h5debug.c index 1f1423f..9eb2d49 100644 --- a/tools/misc/h5debug.c +++ b/tools/misc/h5debug.c @@ -39,6 +39,7 @@ #include "H5BPpkg.h" /* B+ trees */ #include "H5BTpkg.h" /* Block tracker */ #include "H5Dprivate.h" +#include "H5Eprivate.h" /* Error handling */ #include "H5Fpkg.h" #include "H5Gprivate.h" #include "H5HGprivate.h" @@ -311,7 +312,8 @@ main(int argc, char *argv[]) } if (status < 0) { - fprintf(stderr, "An error occurred\n"); + fprintf(stderr, "An error occurred!\n"); + H5Eprint(stderr); HDexit(5); } H5Pclose(dxpl); |