summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 7d57120..65ba6f6 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -729,7 +729,7 @@ H5F_new(H5F_file_t *shared, hid_t fcpl_id, hid_t fapl_id)
* does not permit caching. (maybe able to relax it for
* read only open.)
*/
- if (H5FD_MPIO==f->shared->lf->driver_id){
+ if (H5FD_MPIO==fapl->driver_id){
f->shared->rdcc_nbytes = 0;
f->shared->mdc_nelmts = 0;
}