summaryrefslogtreecommitdiffstats
path: root/src/H5FSdbg.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 /src/H5FSdbg.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 'src/H5FSdbg.c')
-rw-r--r--src/H5FSdbg.c58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/H5FSdbg.c b/src/H5FSdbg.c
index b1cd0b2..631ed7a 100644
--- a/src/H5FSdbg.c
+++ b/src/H5FSdbg.c
@@ -111,37 +111,37 @@ H5FS_debug(H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth)
HGOTO_ERROR(H5E_FSPACE, H5E_CANTLOAD, FAIL, "unable to load free space header")
/* Print opening message */
- HDfprintf(stream, "%*sFree Space Header...\n", indent, "");
+ fprintf(stream, "%*sFree Space Header...\n", indent, "");
/*
* Print the values.
*/
- HDfprintf(stream, "%*s%-*s %s\n", indent, "", fwidth, "Free space client:",
- (fspace->client == H5FS_CLIENT_FHEAP_ID
- ? "Fractal heap"
- : (fspace->client == H5FS_CLIENT_FILE_ID ? "File" : "Unknown")));
- HDfprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
- "Total free space tracked:", fspace->tot_space);
- HDfprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
- "Total number of free space sections tracked:", fspace->tot_sect_count);
- HDfprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
- "Number of serializable free space sections tracked:", fspace->serial_sect_count);
- HDfprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
- "Number of ghost free space sections tracked:", fspace->ghost_sect_count);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "Number of free space section classes:", (unsigned)fspace->nclasses);
- HDfprintf(stream, "%*s%-*s %u%%\n", indent, "", fwidth, "Shrink percent:", fspace->shrink_percent);
- HDfprintf(stream, "%*s%-*s %u%%\n", indent, "", fwidth, "Expand percent:", fspace->expand_percent);
- HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
- "# of bits for section address space:", fspace->max_sect_addr);
- HDfprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
- "Maximum section size:", fspace->max_sect_size);
- HDfprintf(stream, "%*s%-*s %" PRIuHADDR "\n", indent, "", fwidth,
- "Serialized sections address:", fspace->sect_addr);
- HDfprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
- "Serialized sections size used:", fspace->sect_size);
- HDfprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
- "Serialized sections size allocated:", fspace->alloc_sect_size);
+ fprintf(stream, "%*s%-*s %s\n", indent, "", fwidth, "Free space client:",
+ (fspace->client == H5FS_CLIENT_FHEAP_ID
+ ? "Fractal heap"
+ : (fspace->client == H5FS_CLIENT_FILE_ID ? "File" : "Unknown")));
+ fprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
+ "Total free space tracked:", fspace->tot_space);
+ fprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
+ "Total number of free space sections tracked:", fspace->tot_sect_count);
+ fprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
+ "Number of serializable free space sections tracked:", fspace->serial_sect_count);
+ fprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
+ "Number of ghost free space sections tracked:", fspace->ghost_sect_count);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "Number of free space section classes:", (unsigned)fspace->nclasses);
+ fprintf(stream, "%*s%-*s %u%%\n", indent, "", fwidth, "Shrink percent:", fspace->shrink_percent);
+ fprintf(stream, "%*s%-*s %u%%\n", indent, "", fwidth, "Expand percent:", fspace->expand_percent);
+ fprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
+ "# of bits for section address space:", fspace->max_sect_addr);
+ fprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
+ "Maximum section size:", fspace->max_sect_size);
+ fprintf(stream, "%*s%-*s %" PRIuHADDR "\n", indent, "", fwidth,
+ "Serialized sections address:", fspace->sect_addr);
+ fprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
+ "Serialized sections size used:", fspace->sect_size);
+ fprintf(stream, "%*s%-*s %" PRIuHSIZE "\n", indent, "", fwidth,
+ "Serialized sections size allocated:", fspace->alloc_sect_size);
done:
if (fspace && H5AC_unprotect(f, H5AC_FSPACE_HDR, addr, fspace, H5AC__NO_FLAGS_SET) < 0)
@@ -247,7 +247,7 @@ H5FS_sects_debug(H5F_t *f, haddr_t H5_ATTR_UNUSED addr, FILE *stream, int indent
fspace = NULL;
/* Print opening message */
- HDfprintf(stream, "%*sFree Space Sections...\n", indent, "");
+ fprintf(stream, "%*sFree Space Sections...\n", indent, "");
/*
* Print the values.
@@ -265,7 +265,7 @@ H5FS_sects_debug(H5F_t *f, haddr_t H5_ATTR_UNUSED addr, FILE *stream, int indent
case H5FS_NUM_CLIENT_ID:
default:
- HDfprintf(stream, "Unknown client!\n");
+ fprintf(stream, "Unknown client!\n");
break;
} /* end switch */