summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 64b908d..cb45a9a 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -344,6 +344,8 @@ H5Eclear(void)
* Modifications:
* Albert Cheng, 2000/12/02
* Show MPI process rank id if applicable.
+ * Albert Cheng, 2001/07/14
+ * Show HDF5 library version information string too.
*
*-------------------------------------------------------------------------
*/
@@ -358,7 +360,7 @@ H5Eprint(FILE *stream)
/*NO TRACE*/
if (!stream) stream = stderr;
- fprintf (stream, "HDF5-DIAG: Error detected in ");
+ fprintf (stream, "HDF5-DIAG: Error detected in %s ", H5_lib_vers_info_g);
/* try show the process or thread id in multiple processes cases*/
#ifdef H5_HAVE_PARALLEL
{ int mpi_rank, mpi_initialized;