summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/h5_extlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_extlink.c b/examples/h5_extlink.c
index 0f86135..f40e509 100644
--- a/examples/h5_extlink.c
+++ b/examples/h5_extlink.c
@@ -173,7 +173,7 @@ static void extlink_prefix_example(void)
H5Gclose(group_id);
/* Each file has had a group created inside it using the same external link. */
- group_id = H5Gopenw(red_file_id, "pink", H5P_DEFAULT);
+ group_id = H5Gopen2(red_file_id, "pink", H5P_DEFAULT);
group2_id = H5Gopen2(blue_file_id, "sky blue", H5P_DEFAULT);
/* Clean up our open IDs */