summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_error.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 /test/ttsafe_error.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 'test/ttsafe_error.c')
-rw-r--r--test/ttsafe_error.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c
index 8e01c66..5cc408b 100644
--- a/test/ttsafe_error.c
+++ b/test/ttsafe_error.c
@@ -136,7 +136,7 @@ tts_error(void)
if (error_flag_g) {
TestErrPrintf(
"At least one thread reported a value that was different from the expected value\n");
- HDprintf(
+ printf(
"(Update the expected_g[] array in tts_error for this test if the error stack changed!)\n");
}
@@ -158,7 +158,7 @@ tts_error(void)
CHECK(status, FAIL, "H5Fclose");
} /* end if */
else
- HDprintf("Non-native VOL connector used, skipping test\n");
+ printf("Non-native VOL connector used, skipping test\n");
status = H5Idec_ref(vol_id);
CHECK(status, FAIL, "H5Idec_ref");
@@ -245,15 +245,15 @@ walk_error_callback(unsigned n, const H5E_error2_t *err_desc, void H5_ATTR_UNUSE
}
/* Unexpected error stack entry, print some info and set flag */
- HDfprintf(stderr, "Unexpected error stack entry!\n");
- HDfprintf(stderr, "Stack entry: %d\n", n);
- HDfprintf(stderr,
- "Actual: maj_num = %" PRIxHID ", min_num = %" PRIxHID
- ", line = %u, func = '%s', file = '%s', desc = '%s'\n",
- err_desc->maj_num, err_desc->min_num, err_desc->line, err_desc->func_name, err_desc->file_name,
- err_desc->desc);
- HDfprintf(stderr, "Expected: maj_num = %" PRIxHID ", min_num = %" PRIxHID "\n", expected_g[n].maj_num,
- expected_g[n].min_num);
+ fprintf(stderr, "Unexpected error stack entry!\n");
+ fprintf(stderr, "Stack entry: %d\n", n);
+ fprintf(stderr,
+ "Actual: maj_num = %" PRIxHID ", min_num = %" PRIxHID
+ ", line = %u, func = '%s', file = '%s', desc = '%s'\n",
+ err_desc->maj_num, err_desc->min_num, err_desc->line, err_desc->func_name, err_desc->file_name,
+ err_desc->desc);
+ fprintf(stderr, "Expected: maj_num = %" PRIxHID ", min_num = %" PRIxHID "\n", expected_g[n].maj_num,
+ expected_g[n].min_num);
error_flag_g = -1;
return SUCCEED;