summaryrefslogtreecommitdiffstats
path: root/tools/test/misc/clear_open_chk.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 15:31:32 (GMT)
committerGitHub <noreply@github.com>2023-06-28 15:31:32 (GMT)
commit187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98 (patch)
treebaffa167d0796786241aef6b0ce76d4adec3b66e /tools/test/misc/clear_open_chk.c
parent7a44581a84778a1346a2fd5b6cca7d9db905a321 (diff)
downloadhdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.zip
hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.tar.gz
hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.tar.bz2
Rename HD(f)printf() to (f)printf() (#3194)
Diffstat (limited to 'tools/test/misc/clear_open_chk.c')
-rw-r--r--tools/test/misc/clear_open_chk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/test/misc/clear_open_chk.c b/tools/test/misc/clear_open_chk.c
index 37e7307..ac31375 100644
--- a/tools/test/misc/clear_open_chk.c
+++ b/tools/test/misc/clear_open_chk.c
@@ -18,9 +18,9 @@ static void usage(void);
static void
usage(void)
{
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "Usage error!\n");
- HDfprintf(stdout, "Usage: clear_open_chk filename\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "Usage error!\n");
+ fprintf(stdout, "Usage: clear_open_chk filename\n");
} /* usage() */
/*-------------------------------------------------------------------------
@@ -53,7 +53,7 @@ main(int argc, char *argv[])
/* Try opening the file */
if ((fid = h5tools_fopen(fname, H5F_ACC_RDONLY, H5P_DEFAULT, FALSE, NULL, (size_t)0)) < 0) {
- HDfprintf(stderr, "clear_open_chk: unable to open the file\n");
+ fprintf(stderr, "clear_open_chk: unable to open the file\n");
HDfree(fname);
HDexit(EXIT_FAILURE);
}
@@ -61,7 +61,7 @@ main(int argc, char *argv[])
/* Close the file */
if (H5Fclose(fid) < 0) {
- HDfprintf(stderr, "clear_open_chk: cannot close the file\n");
+ fprintf(stderr, "clear_open_chk: cannot close the file\n");
HDexit(EXIT_FAILURE);
}