summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/h5group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/h5group.cpp b/c++/examples/h5group.cpp
index c3415b6..f7dc733 100644
--- a/c++/examples/h5group.cpp
+++ b/c++/examples/h5group.cpp
@@ -234,7 +234,7 @@ file_info(hid_t loc_id, const char *name, void *opdata)
/*
* Open the group using its name.
*/
- group = H5Gopen(loc_id, name);
+ group = H5Gopen2(loc_id, name, H5P_DEFAULT);
/*
* Display group name.