summaryrefslogtreecommitdiffstats
path: root/src/H5Eprivate.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-01-13 15:25:37 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-01-13 15:25:37 (GMT)
commita7724facc70ef6b8297f8a1fe6cf486305967d0e (patch)
tree05bd3bfd50ab506e77a272863933ce23a3143740 /src/H5Eprivate.h
parent4f5a47da500427803c71d953143e0d9565fb56a0 (diff)
downloadhdf5-a7724facc70ef6b8297f8a1fe6cf486305967d0e.zip
hdf5-a7724facc70ef6b8297f8a1fe6cf486305967d0e.tar.gz
hdf5-a7724facc70ef6b8297f8a1fe6cf486305967d0e.tar.bz2
[svn-r28875] Merge of r28861 from trunk (minor string format change). Fixes HDFFV-9640.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 parallel only (MPICH 3.1.4)
Diffstat (limited to 'src/H5Eprivate.h')
-rw-r--r--src/H5Eprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h
index b36780b..94a9244 100644
--- a/src/H5Eprivate.h
+++ b/src/H5Eprivate.h
@@ -113,7 +113,7 @@ extern int H5E_mpi_error_str_len;
#define HMPI_ERROR(mpierr){ \
MPI_Error_string(mpierr, H5E_mpi_error_str, &H5E_mpi_error_str_len); \
- HERROR(H5E_INTERNAL, H5E_MPIERRSTR, H5E_mpi_error_str); \
+ HERROR(H5E_INTERNAL, H5E_MPIERRSTR, "%s", H5E_mpi_error_str); \
}
#define HMPI_DONE_ERROR(retcode, str, mpierr){ \
HMPI_ERROR(mpierr); \