fixed error message typo (#401)

* fixed missed closing of a dataset

* fixed missed closing of a dataset

* fixed typo in error return
This commit is contained in:
Scot Breitenfeld 2021-02-26 23:25:35 -06:00 committed by GitHub
parent 216bff5778
commit ae9b4026a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1763,7 +1763,7 @@ H5Literate2(hid_t group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t
/* Iterate over links synchronously */
if ((ret_value = H5L__iterate_api_common(group_id, idx_type, order, idx_p, op, op_data, NULL, NULL)) < 0)
HGOTO_ERROR(H5E_LINK, H5E_BADITER, FAIL, "asynchronous link iteration failed")
HGOTO_ERROR(H5E_LINK, H5E_BADITER, FAIL, "synchronous link iteration failed")
done:
FUNC_LEAVE_API(ret_value)