diff options
Diffstat (limited to 'tools/h5repack/h5repack_copy.c')
-rw-r--r-- | tools/h5repack/h5repack_copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index bbb8d1c..e9a89e2 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -346,8 +346,8 @@ int do_copy_objects(hid_t fidin, goto error; } else { - if ((grp_out=H5Gcreate(fidout,travt->objs[i].name, 0))<0) - goto error; + if((grp_out = H5Gcreate2(fidout, travt->objs[i].name, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0) + goto error; } if((grp_in = H5Gopen (fidin,travt->objs[i].name))<0) |