diff options
Diffstat (limited to 'tools/misc/h5mkgrp.c')
-rw-r--r-- | tools/misc/h5mkgrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/misc/h5mkgrp.c b/tools/misc/h5mkgrp.c index c39d07b..6de00f7 100644 --- a/tools/misc/h5mkgrp.c +++ b/tools/misc/h5mkgrp.c @@ -233,8 +233,8 @@ main(int argc, const char *argv[]) /* Check for creating groups with new format version */ if(params.latest) { - /* Set the "use the latest version of the format flag */ - if(H5Pset_latest_format(fapl_id, TRUE) < 0) { + /* Set the "use the latest version of the format" bounds */ + if(H5Pset_format_bounds(fapl_id, H5F_FORMAT_LATEST, H5F_FORMAT_LATEST) < 0) { error_msg(progname, "Could not set property for using latest version of the format\n"); leave(EXIT_FAILURE); } /* end if */ |