summaryrefslogtreecommitdiffstats
path: root/test/gen_nullspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_nullspace.c')
-rw-r--r--test/gen_nullspace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gen_nullspace.c b/test/gen_nullspace.c
index 80e5590..385564f 100644
--- a/test/gen_nullspace.c
+++ b/test/gen_nullspace.c
@@ -63,11 +63,11 @@ main(void)
assert(gid > 0);
/* Create an attribute for the group */
- attr=H5Acreate(gid,NULLATTR,H5T_NATIVE_INT,sid,H5P_DEFAULT);
- assert(attr>0);
+ attr = H5Acreate2(gid, ".", NULLATTR, H5T_NATIVE_INT, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ assert(attr > 0);
/* Close attribute */
- ret=H5Aclose(attr);
+ ret = H5Aclose(attr);
assert(ret>=0);
/* Close the group */