diff options
Diffstat (limited to 'tools/h5dump')
-rw-r--r-- | tools/h5dump/h5dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index d19febd..1f34b65 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -3775,7 +3775,7 @@ main(int argc, const char *argv[]) } fname = HDstrdup(argv[opt_ind]); - fid = h5tools_fopen(fname, driver, NULL, 0); + fid = h5tools_fopen(fname, H5F_ACC_RDONLY, driver, NULL, 0); if (fid < 0) { error_msg(progname, "unable to open file \"%s\"\n", fname); |