summaryrefslogtreecommitdiffstats
path: root/examples/h5_extlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_extlink.c')
-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 f40e509..1e25ef6 100644
--- a/examples/h5_extlink.c
+++ b/examples/h5_extlink.c
@@ -583,7 +583,7 @@ static void plist_link_example(void)
/* There is no HDF5 API for setting the property that controls these
* links, so we have to add the property manually
*/
- H5Pinsert(gapl_id, PLIST_LINK_PROP, sizeof(const char *), &(path), NULL, NULL, NULL, NULL, NULL, NULL);
+ H5Pinsert2(gapl_id, PLIST_LINK_PROP, sizeof(const char *), &(path), NULL, NULL, NULL, NULL, NULL, NULL);
/* Set the property to point to the first group. */
path = "group_1";