summaryrefslogtreecommitdiffstats
path: root/src/H5Fvfd_swmr.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-21 19:24:01 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-21 19:24:01 (GMT)
commit95105d3facd8e747401e4642d38c3cd35b708238 (patch)
treed8d615cea00c9d8b7e2e1855b50aa18745730064 /src/H5Fvfd_swmr.c
parentb1de3197d3866316f8b3c12a4bd9a09ff074c0d9 (diff)
downloadhdf5-95105d3facd8e747401e4642d38c3cd35b708238.zip
hdf5-95105d3facd8e747401e4642d38c3cd35b708238.tar.gz
hdf5-95105d3facd8e747401e4642d38c3cd35b708238.tar.bz2
Prevent a spurious assertion by using the correct index, oops!
Diffstat (limited to 'src/H5Fvfd_swmr.c')
-rw-r--r--src/H5Fvfd_swmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index 231e7b1..6e11446 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -1234,7 +1234,7 @@ H5F_vfd_swmr_reader_end_of_tick(H5F_t *f, bool entering_api)
* case where the new entry is *longer*, because the
* extension could overlap with a second entry.
*/
- assert(old_mdf_idx[i].length == new_mdf_idx[i].length);
+ assert(old_mdf_idx[i].length == new_mdf_idx[j].length);
hlog_fast(shadow_index_update,
"writer moved shadow at slot %" PRIu32