summaryrefslogtreecommitdiffstats
path: root/examples/h5_attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_attribute.c')
-rw-r--r--examples/h5_attribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c
index 665e2c0..27d144a 100644
--- a/examples/h5_attribute.c
+++ b/examples/h5_attribute.c
@@ -210,7 +210,7 @@ main (void)
/*
* Get attribute info using iteration function.
*/
- ret = H5Aiterate2(dataset, ".", H5_INDEX_NAME, H5_ITER_INC, NULL, attr_info, NULL, H5P_DEFAULT);
+ ret = H5Aiterate2(dataset, H5_INDEX_NAME, H5_ITER_INC, NULL, attr_info, NULL);
/*
* Close the dataset and the file.