summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2019-12-02 18:43:49 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2019-12-02 23:05:15 (GMT)
commit874900d39561f97c0a41b7efc59686daa66df95e (patch)
treeb87b7cb2d3ea181fafa8af7001026a077d8c7923 /examples
parent0772b975d1d2bfa15aedeb4b6e2c2aac78c61a2f (diff)
downloadhdf5-874900d39561f97c0a41b7efc59686daa66df95e.zip
hdf5-874900d39561f97c0a41b7efc59686daa66df95e.tar.gz
hdf5-874900d39561f97c0a41b7efc59686daa66df95e.tar.bz2
Add OAPL parameter to H5Rcreate_ APIs
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" */