diff options
Diffstat (limited to 'tools/misc/clear_open_chk.c')
-rw-r--r-- | tools/misc/clear_open_chk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/misc/clear_open_chk.c b/tools/misc/clear_open_chk.c index 3a299ec..4256da0 100644 --- a/tools/misc/clear_open_chk.c +++ b/tools/misc/clear_open_chk.c @@ -56,13 +56,13 @@ main(int argc, char *argv[]) /* Try opening the file */ if((fid = h5tools_fopen(fname, H5F_ACC_RDWR, H5P_DEFAULT, NULL, NULL, (size_t)0)) < 0) { - HDfprintf(stdout, "\nclear_open_chk: cannot open the file\n"); + HDfprintf(stderr, "clear_open_chk: unable to open the file\n"); return EXIT_FAILURE; } /* Close the file */ if(H5Fclose(fid) < 0) { - HDfprintf(stdout, "\nclear_open_chk: cannot close the file\n"); + HDfprintf(stderr, "clear_open_chk: cannot close the file\n"); return EXIT_FAILURE; } |