summaryrefslogtreecommitdiffstats
path: root/tools/h5import
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5import')
-rwxr-xr-xtools/h5import/h5import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5import/h5import.c b/tools/h5import/h5import.c
index b494a67..1babd9e 100755
--- a/tools/h5import/h5import.c
+++ b/tools/h5import/h5import.c
@@ -852,7 +852,7 @@ processStrData(FILE **strm, struct Input *in, hid_t file_id)
j = 0;
handle = file_id;
while(j < in->path.count - 1) {
- if((group_id = H5Gopen(handle, in->path.group[j])) < 0) {
+ if((group_id = H5Gopen2(handle, in->path.group[j], H5P_DEFAULT)) < 0) {
group_id = H5Gcreate2(handle, in->path.group[j++], H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
for(; j < in->path.count - 1; j++)
group_id = H5Gcreate2(group_id, in->path.group[j], H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
@@ -2444,7 +2444,7 @@ process(struct Options *opt)
j = 0;
handle = file_id;
while(j < in->path.count - 1) {
- if((group_id = H5Gopen(handle, in->path.group[j])) < 0) {
+ if((group_id = H5Gopen2(handle, in->path.group[j], H5P_DEFAULT)) < 0) {
group_id = H5Gcreate2(handle, in->path.group[j++], H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
for (; j < in->path.count - 1; j++)
group_id = H5Gcreate2(group_id, in->path.group[j], H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);