summaryrefslogtreecommitdiffstats
path: root/tools/h5jam
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5jam')
-rw-r--r--tools/h5jam/h5unjam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5jam/h5unjam.c b/tools/h5jam/h5unjam.c
index 0edc980..ac927c8 100644
--- a/tools/h5jam/h5unjam.c
+++ b/tools/h5jam/h5unjam.c
@@ -252,7 +252,7 @@ main(int argc, const char *argv[])
exit(EXIT_FAILURE);
}
} else {
- h5fid = open(output_file,O_WRONLY|O_CREAT|O_TRUNC, 0644 );
+ h5fid = HDopen(output_file,O_WRONLY|O_CREAT|O_TRUNC, 0644 );
if (h5fid < 0) {
error_msg(progname, "unable to open output HDF5 file \"%s\"\n", output_file);