diff options
-rw-r--r-- | test/tfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tfile.c b/test/tfile.c index 556ccd3..6c0eba4 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -994,7 +994,7 @@ test_get_obj_ids(void) for(n = 0; n < NDSETS; n++) { sprintf(dname, "dataset%d", n); dset[n] = H5Dcreate2(fid, dname, H5T_NATIVE_INT, filespace, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); - CHECK(dset[m], FAIL, "H5Dcreate2"); + CHECK(dset[n], FAIL, "H5Dcreate2"); } /* The number of opened objects should be NGROUPS + NDSETS + 1. One is opened file. */ |