diff options
Diffstat (limited to 'tools/h5stat/h5stat_gentest.c')
-rw-r--r-- | tools/h5stat/h5stat_gentest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5stat/h5stat_gentest.c b/tools/h5stat/h5stat_gentest.c index 6d82e43..9c8b22f 100644 --- a/tools/h5stat/h5stat_gentest.c +++ b/tools/h5stat/h5stat_gentest.c @@ -66,7 +66,7 @@ static void gen_file(void) dset_id = H5Dcreate(file, DATASET_NAME, type_id, space_id, H5P_DEFAULT); for(i = 1; i <= NUM_ATTRS; i++) { sprintf(attrname, "%s%d", ATTR_NAME,i); - attr_id = H5Acreate(dset_id, attrname, type_id, space_id, H5P_DEFAULT); + attr_id = H5Acreate2(dset_id, ".", attrname, type_id, space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); ret = H5Aclose(attr_id); } |