summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/t_cache_image.c')
-rw-r--r--testpar/t_cache_image.c12
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);
+ }
}
}