summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 5424717..af9ca1e 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -597,9 +597,10 @@ h5_fileaccess(void)
* and copy buffer size to the default values. */
if (H5Pset_fapl_direct(fapl, 1024, 4096, 8*4096)<0) return -1;
#endif
- } else if (!HDstrcmp(name, "latest")) {
+ } else if(!HDstrcmp(name, "latest")) {
/* use the latest format */
- if (H5Pset_latest_format(fapl, TRUE)<0) return -1;
+ if(H5Pset_format_bounds(fapl, H5F_FORMAT_LATEST, H5F_FORMAT_LATEST) < 0)
+ return -1;
} else {
/* Unknown driver */
return -1;