summaryrefslogtreecommitdiffstats
path: root/test/trefer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/trefer.c')
-rw-r--r--test/trefer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trefer.c b/test/trefer.c
index e3ffd76..70ad2e7 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -111,7 +111,7 @@ test_reference_obj(void)
CHECK(group, FAIL, "H5Gcreate2");
/* Set group's comment */
- ret = H5Oset_comment(group, ".", write_comment, H5P_DEFAULT);
+ ret = H5Oset_comment(group, write_comment);
CHECK(ret, FAIL, "H5Oset_comment");
/* Create a dataset (inside Group1) */
@@ -250,7 +250,7 @@ test_reference_obj(void)
CHECK(group, FAIL, "H5Rdereference");
/* Get group's comment */
- ret = H5Oget_comment(group, ".", read_comment, (size_t)10, H5P_DEFAULT);
+ ret = H5Oget_comment(group, read_comment, (size_t)10);
CHECK(ret, FAIL, "H5Oget_comment");
/* Check for correct comment value */