diff options
author | David Young <dyoung@hdfgroup.org> | 2020-09-24 21:34:51 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-09-24 21:34:51 (GMT) |
commit | 6486892de56485f8ec7cf9070363a7b13da4e408 (patch) | |
tree | 08508b53153b54eb9aa4224c05a86b7b736677d6 /testpar/t_cache_image.c | |
parent | cd1d772f353b70415b150ae2e85e9d184191f7f0 (diff) | |
download | hdf5-6486892de56485f8ec7cf9070363a7b13da4e408.zip hdf5-6486892de56485f8ec7cf9070363a7b13da4e408.tar.gz hdf5-6486892de56485f8ec7cf9070363a7b13da4e408.tar.bz2 |
Fix some HDfprintf compilation errors: use the right format strings
("zu", PRIuHSIZE), avoid casting some printf arguments, pass the right
number of arguments.
Diffstat (limited to 'testpar/t_cache_image.c')
-rw-r--r-- | testpar/t_cache_image.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/testpar/t_cache_image.c b/testpar/t_cache_image.c index 14e3d10..6877d63 100644 --- a/testpar/t_cache_image.c +++ b/testpar/t_cache_image.c @@ -3340,8 +3340,10 @@ verify_cache_image_RO(int file_name_id, int md_write_strat, int mpi_rank) H5_FAILED(); - if ( show_progress ) - HDfprintf(stdout, "%s: failure_mssg = \"%s\"\n", failure_mssg); + if ( show_progress ) { + HDfprintf(stdout, "%s: failure_mssg = \"%s\"\n", fcn_name, + failure_mssg); + } } } @@ -3638,8 +3640,10 @@ verify_cache_image_RW(int file_name_id, int md_write_strat, int mpi_rank) H5_FAILED(); - if ( show_progress ) - HDfprintf(stdout, "%s: failure_mssg = \"%s\"\n", failure_mssg); + if ( show_progress ) { + HDfprintf(stdout, "%s: failure_mssg = \"%s\"\n", fcn_name, + failure_mssg); + } } } |