diff options
Diffstat (limited to 'test/istore.c')
-rw-r--r-- | test/istore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/istore.c b/test/istore.c index e11cb04..f95c3fd 100644 --- a/test/istore.c +++ b/test/istore.c @@ -134,7 +134,7 @@ new_object(H5F_t *f, const char *name, intn ndims, H5G_entry_t *ent/*out*/) return -1; } /* Give the object header a name */ - if (H5G_insert(name, ent) < 0) { + if (H5G_insert(H5G_getcwg(f), name, ent) < 0) { printf("*FAILED*\n"); if (!isatty(1)) { AT(); @@ -605,7 +605,7 @@ main(int argc, char *argv[]) * By creating a group we cause the library to emit it's debugging * diagnostic messages before we begin testing... */ - dir = H5G_create(f, "flushing_diagnostics", 0); + dir = H5G_create(H5G_getcwg(f), "flushing_diagnostics", 0); H5G_close(dir); dir = NULL; |