summaryrefslogtreecommitdiffstats
path: root/src/H5Ostab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ostab.c')
-rw-r--r--src/H5Ostab.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/H5Ostab.c b/src/H5Ostab.c
index 345e429..2d5559d 100644
--- a/src/H5Ostab.c
+++ b/src/H5Ostab.c
@@ -118,8 +118,8 @@ H5O_stab_encode(H5F_t *f, uint8_t *p, const void *_mesg)
assert(stab);
/* encode */
- H5F_addr_encode(f, &p, &(stab->btree_addr));
- H5F_addr_encode(f, &p, &(stab->heap_addr));
+ H5F_addr_encode(f, &p, stab->btree_addr);
+ H5F_addr_encode(f, &p, stab->heap_addr);
FUNC_LEAVE(SUCCEED);
}
@@ -262,15 +262,11 @@ H5O_stab_debug(H5F_t UNUSED *f, const void *_mesg, FILE * stream,
assert(indent >= 0);
assert(fwidth >= 0);
- fprintf(stream, "%*s%-*s ", indent, "", fwidth,
- "B-tree address:");
- H5F_addr_print(stream, &(stab->btree_addr));
- fprintf(stream, "\n");
+ HDfprintf(stream, "%*s%-*s %a\n", indent, "", fwidth,
+ "B-tree address:", stab->btree_addr);
- fprintf(stream, "%*s%-*s ", indent, "", fwidth,
- "Name heap address:");
- H5F_addr_print(stream, &(stab->heap_addr));
- fprintf(stream, "\n");
+ HDfprintf(stream, "%*s%-*s %a\n", indent, "", fwidth,
+ "Name heap address:", stab->heap_addr);
FUNC_LEAVE(SUCCEED);
}