summaryrefslogtreecommitdiffstats
path: root/test/vfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/vfd.c')
-rw-r--r--test/vfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd.c b/test/vfd.c
index 8f11364..0694879 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -1068,8 +1068,8 @@ test_multi(void)
TEST_ERROR;
/* Create and write attribute for the root group. */
- if((root = H5Gopen(file, "/"))<0)
- TEST_ERROR;
+ if((root = H5Gopen2(file, "/", H5P_DEFAULT)) < 0)
+ FAIL_STACK_ERROR
/* Attribute string. */
if((atype = H5Tcopy(H5T_C_S1))<0)