summaryrefslogtreecommitdiffstats
path: root/tools/src/h5jam/h5unjam.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/src/h5jam/h5unjam.c')
-rw-r--r--tools/src/h5jam/h5unjam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5jam/h5unjam.c b/tools/src/h5jam/h5unjam.c
index ffe2aca..aa893f9 100644
--- a/tools/src/h5jam/h5unjam.c
+++ b/tools/src/h5jam/h5unjam.c
@@ -229,7 +229,7 @@ main(int argc, const char *argv[])
goto done;
}
- testval = H5Fis_hdf5(input_file);
+ testval = H5Fis_accessible(input_file, H5P_DEFAULT);
if (testval <= 0) {
error_msg("Input HDF5 file \"%s\" is not HDF\n", input_file);