diff options
Diffstat (limited to 'src/debug.c')
-rw-r--r-- | src/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c index b5ea511..8356de7 100644 --- a/src/debug.c +++ b/src/debug.c @@ -17,6 +17,7 @@ #include <H5private.h> #include <H5Aprivate.h> #include <H5Bprivate.h> +#include <H5Cprivate.h> #include <H5Fprivate.h> #include <H5Gprivate.h> #include <H5Hprivate.h> @@ -56,7 +57,7 @@ main(int argc, char *argv[]) /* * Open the file and get the file descriptor. */ - if ((fid = H5Fopen(argv[1], 0, 0)) < 0) { + if ((fid = H5Fopen(argv[1], H5F_ACC_RDONLY, H5C_DEFAULT)) < 0) { fprintf(stderr, "cannot open file\n"); HDexit(1); } |