diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/h5test.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c index 862b9a3..5348e1b 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -480,8 +480,14 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix, char *fu if (H5FD_FAMILY == driver) { if (subst_for_superblock) suffix = "-000000.h5"; - else - suffix = nest_printf ? "-%%06d.h5" : "-%06d.h5"; + else { + if (nest_printf) { + suffix = "-%%06d.h5"; + } + else { + suffix = "-%06d.h5"; + } + } } else if (H5FD_MULTI == driver) { |