summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-08-07 16:06:12 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-08-07 16:06:12 (GMT)
commit4049965d1337bc54a21a4d3af71aa793e4baf029 (patch)
tree437db386ffd2d458a44c8a4414e55f84f6adee48 /src
parent1f7ad773643cc5153ed20d5aaad89b5bd421fa8a (diff)
downloadhdf5-4049965d1337bc54a21a4d3af71aa793e4baf029.zip
hdf5-4049965d1337bc54a21a4d3af71aa793e4baf029.tar.gz
hdf5-4049965d1337bc54a21a4d3af71aa793e4baf029.tar.bz2
[svn-r4323] Purpose:
H5Eprint shows library version information too. Platforms tested: eirene.
Diffstat (limited to 'src')
-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;