diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-01-12 12:28:39 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-01-12 12:28:39 (GMT) |
commit | 2396a172adc0fca7ad56fe6bd89276903dc8af44 (patch) | |
tree | 9cc08f8fb0fb2207294e1fce8a3dbc52aa45fa28 /src/H5Eprivate.h | |
parent | 67570ce476f334fdafc01a89796808264ab8e6c4 (diff) | |
download | hdf5-2396a172adc0fca7ad56fe6bd89276903dc8af44.zip hdf5-2396a172adc0fca7ad56fe6bd89276903dc8af44.tar.gz hdf5-2396a172adc0fca7ad56fe6bd89276903dc8af44.tar.bz2 |
[svn-r28861] Minor warning format string fix (HDFFV-9640).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
autotools parallel only (MPICH 3.1.4)
Diffstat (limited to 'src/H5Eprivate.h')
-rw-r--r-- | src/H5Eprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h index ba17ada..db413e3 100644 --- a/src/H5Eprivate.h +++ b/src/H5Eprivate.h @@ -125,7 +125,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); \ |