summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2018-12-12 20:03:56 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2018-12-12 20:03:56 (GMT)
commitc81e31021404765a829c623986b6f7e55fa8b713 (patch)
treeb3f3fe64421dff07dc3856160f4ce6468638ca8d
parent496de6922fb13aa11a5c5efe56a3f8de157a77ad (diff)
downloadhdf5-c81e31021404765a829c623986b6f7e55fa8b713.zip
hdf5-c81e31021404765a829c623986b6f7e55fa8b713.tar.gz
hdf5-c81e31021404765a829c623986b6f7e55fa8b713.tar.bz2
Fix typo.
Fix CHECK of wrong ID (dset[2|3]_id).
-rw-r--r--test/tsohm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsohm.c b/test/tsohm.c
index b27a107..63a5e71 100644
--- a/test/tsohm.c
+++ b/test/tsohm.c
@@ -3494,7 +3494,7 @@ verify_dataset_extension(hid_t fcpl_id, hbool_t close_reopen)
* Macro: TSOHM_EDH_VERIFY_SPACES
*
* Purpose: Encapsulate a common pattern
- * Open, read-verity, and close the dataspaces for datasets 1-3
+ * Open, read-verify, and close the dataspaces for datasets 1-3
*
* Programmer: Jacob Smith
* 2018 November 5
@@ -3570,7 +3570,7 @@ verify_dataset_extension(hid_t fcpl_id, hbool_t close_reopen)
} \
if ((n) > 2) { \
dset3_id = H5Dopen2(file_id, "dataset3", H5P_DEFAULT); \
- CHECK_I(dset2_id, "H5Dopen2"); \
+ CHECK_I(dset3_id, "H5Dopen2"); \
} \
} /* define TSOHM_EDH_CLOSE_REOPEN_FILE_AND_DSETS */