diff options
Diffstat (limited to 'test/ohdr.c')
-rw-r--r-- | test/ohdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ohdr.c b/test/ohdr.c index 0ff5ac0..8ed361a 100644 --- a/test/ohdr.c +++ b/test/ohdr.c @@ -89,7 +89,7 @@ main(void) HDputs("Using default file format:"); /* Set the format to use for the file */ - if (H5Pset_latest_format(fapl, b) < 0) FAIL_STACK_ERROR + if (H5Pset_format_bounds(fapl, (b ? H5F_FORMAT_LATEST : H5F_FORMAT_EARLIEST), H5F_FORMAT_LATEST) < 0) FAIL_STACK_ERROR /* Create the file to operate on */ if((file = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl)) < 0) TEST_ERROR |