summaryrefslogtreecommitdiffstats
path: root/test/cache_logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cache_logging.c')
-rw-r--r--test/cache_logging.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cache_logging.c b/test/cache_logging.c
index 7113108..5372021 100644
--- a/test/cache_logging.c
+++ b/test/cache_logging.c
@@ -73,7 +73,7 @@ test_logging_api(void)
size = 999;
if (H5Pget_mdc_log_options(fapl, &is_enabled_out, location, &size, &start_on_access_out) < 0)
TEST_ERROR;
- if (size != HDstrlen(LOG_LOCATION) + 1)
+ if (size != strlen(LOG_LOCATION) + 1)
TEST_ERROR;
/* Check to make sure that the property list getter works */
@@ -82,7 +82,7 @@ test_logging_api(void)
if (H5Pget_mdc_log_options(fapl, &is_enabled_out, location, &size, &start_on_access_out) < 0)
TEST_ERROR;
if ((is_enabled != is_enabled_out) || (start_on_access != start_on_access_out) ||
- HDstrcmp(LOG_LOCATION, location) != 0)
+ strcmp(LOG_LOCATION, location) != 0)
TEST_ERROR;
/* Create a file */
@@ -110,7 +110,7 @@ test_logging_api(void)
/* Perform some manipulations */
for (i = 0; i < N_GROUPS; i++) {
memset(group_name, 0, sizeof(group_name));
- HDsnprintf(group_name, sizeof(group_name), "%d", i);
+ snprintf(group_name, sizeof(group_name), "%d", i);
if ((gid = H5Gcreate2(fid, group_name, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0)
TEST_ERROR;
if (H5Gclose(gid) < 0)