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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_nullspace.c b/test/gen_nullspace.c
index 2d2bf15..80e5590 100644
--- a/test/gen_nullspace.c
+++ b/test/gen_nullspace.c
@@ -59,8 +59,8 @@ main(void)
assert(ret>=0);
/* Open the root group */
- gid = H5Gopen(fid,"/");
- assert(gid>0);
+ gid = H5Gopen2(fid, "/", H5P_DEFAULT);
+ assert(gid > 0);
/* Create an attribute for the group */
attr=H5Acreate(gid,NULLATTR,H5T_NATIVE_INT,sid,H5P_DEFAULT);