diff options
Diffstat (limited to 'src/H5Fdeprec.c')
-rw-r--r-- | src/H5Fdeprec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fdeprec.c b/src/H5Fdeprec.c index 258f5fb..f5a7c5d 100644 --- a/src/H5Fdeprec.c +++ b/src/H5Fdeprec.c @@ -227,7 +227,7 @@ H5Fis_hdf5(const char *name) HGOTO_ERROR(H5E_ARGS, H5E_BADRANGE, FAIL, "no file name specified") /* Call private routine */ - if((ret_value = H5F_is_hdf5(name)) < 0) + if((ret_value = H5F_is_hdf5(name, H5P_FILE_ACCESS_DEFAULT)) < 0) HGOTO_ERROR(H5E_IO, H5E_CANTINIT, FAIL, "unable to open file") done: |