diff options
Diffstat (limited to 'examples/h5_interm_group.c')
-rw-r--r-- | examples/h5_interm_group.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_interm_group.c b/examples/h5_interm_group.c index caa0a88..95ed910 100644 --- a/examples/h5_interm_group.c +++ b/examples/h5_interm_group.c @@ -68,7 +68,7 @@ main(void) * Check that group G2/G3 exists in /G1 and if not create it using * intermediate group creation property. */ - g1_id = H5Gopen(file, "/G1"); + g1_id = H5Gopen2(file, "/G1", H5P_DEFAULT); /* Next commented call causes error stack to be printed out; the next one * works fine; is it a bug or a feature? EIP 04-25-07 */ @@ -90,7 +90,7 @@ main(void) */ if (H5Lexists(file, "/G1/G2", H5P_DEFAULT)) { - g2_id = H5Gopen(file, "/G1/G2"); + g2_id = H5Gopen2(file, "/G1/G2", H5P_DEFAULT); status = H5Gget_info(g2_id, ".", &g2_info, H5P_DEFAULT); printf("Group /G1/G2 has %d member(s)\n", (int)g2_info.nlinks); |