summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorRichard Warren <Richard.Warren@hdfgroup.org>2019-12-06 21:50:47 (GMT)
committerRichard Warren <Richard.Warren@hdfgroup.org>2019-12-06 21:50:47 (GMT)
commit9f9336a5bd541752f472bab4c93da8de89f862cd (patch)
treea53fa6a59d5812dd36f271f7c776a1c846346f32 /examples
parent0c06cfc6ef9d851908f1017881598628ddf70b2a (diff)
parent437a1919e7ba60fe75a33a466d264183a0255319 (diff)
downloadhdf5-9f9336a5bd541752f472bab4c93da8de89f862cd.zip
hdf5-9f9336a5bd541752f472bab4c93da8de89f862cd.tar.gz
hdf5-9f9336a5bd541752f472bab4c93da8de89f862cd.tar.bz2
Merge branch 'hdf5_1_12' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_12
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_ref_extern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_ref_extern.c b/examples/h5_ref_extern.c
index 4327a06..17082ba 100644
--- a/examples/h5_ref_extern.c
+++ b/examples/h5_ref_extern.c
@@ -56,7 +56,7 @@ main(void) {
/* Create reference to dataset1 in "refer_extern1.h5" */
file1 = H5Fopen(H5FILE_NAME1, H5F_ACC_RDONLY, H5P_DEFAULT);
- H5Rcreate_object(file1, "dataset1", &ref_buf[0]);
+ H5Rcreate_object(file1, "dataset1", H5P_DEFAULT, &ref_buf[0]);
H5Fclose(file1);
/* Store reference in dataset in separate file "refer_extern2.h5" */