diff options
Diffstat (limited to 'test/swmr_common.c')
-rw-r--r-- | test/swmr_common.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/swmr_common.c b/test/swmr_common.c index 0c869f1..ef4c550 100644 --- a/test/swmr_common.c +++ b/test/swmr_common.c @@ -179,7 +179,7 @@ create_symbol_datatype(void) int generate_name(char *name_buf, size_t name_buf_length, unsigned level, unsigned count) { - HDassert(name_buf); + assert(name_buf); HDsnprintf(name_buf, name_buf_length, "%u-%04u", level, count); @@ -204,7 +204,7 @@ generate_symbols(void) unsigned u, v; /* Local index variables */ for (u = 0; u < NLEVELS; u++) { - symbol_info[u] = HDmalloc(symbol_count[u] * sizeof(symbol_info_t)); + symbol_info[u] = malloc(symbol_count[u] * sizeof(symbol_info_t)); for (v = 0; v < symbol_count[u]; v++) { char name_buf[64]; @@ -238,8 +238,8 @@ shutdown_symbols(void) /* Clean up the symbols */ for (u = 0; u < NLEVELS; u++) { for (v = 0; v < symbol_count[u]; v++) - HDfree(symbol_info[u][v].name); - HDfree(symbol_info[u]); + free(symbol_info[u][v].name); + free(symbol_info[u]); } /* end for */ return 0; @@ -275,12 +275,12 @@ print_metadata_retries_info(hid_t fid) if (NULL == info.retries[i]) continue; - HDfprintf(stderr, "Metadata read retries for item %u:\n", i); + fprintf(stderr, "Metadata read retries for item %u:\n", i); power = 1; for (j = 0; j < info.nbins; j++) { if (info.retries[i][j]) - HDfprintf(stderr, "\t# of retries for %u - %u retries: %u\n", power, (power * 10) - 1, - info.retries[i][j]); + fprintf(stderr, "\t# of retries for %u - %u retries: %u\n", power, (power * 10) - 1, + info.retries[i][j]); power *= 10; } /* end for */ } /* end for */ |