summaryrefslogtreecommitdiffstats
path: root/src/H5Gnode.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-03-22 14:53:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-03-22 14:53:27 (GMT)
commit06ee92414dd1e9b5e64ee1c7f1fc4141ef01cdff (patch)
tree3174dcbf8cd52657fa66fd361f2baa9040d4ec14 /src/H5Gnode.c
parentb6f34ab3e50a455e8be4700c018404afa1adce26 (diff)
downloadhdf5-06ee92414dd1e9b5e64ee1c7f1fc4141ef01cdff.zip
hdf5-06ee92414dd1e9b5e64ee1c7f1fc4141ef01cdff.tar.gz
hdf5-06ee92414dd1e9b5e64ee1c7f1fc4141ef01cdff.tar.bz2
[svn-r6519] Purpose:
Bug fix/code cleanup/new feature Description: Fix h5debug to work correctly again, with all the changes over the past few months. Improved and cleaned up debugging output available in h5debug. Platforms tested: FreeBSD 4.7 (sleipnir)
Diffstat (limited to 'src/H5Gnode.c')
-rw-r--r--src/H5Gnode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Gnode.c b/src/H5Gnode.c
index 1a153d5..a1f7762 100644
--- a/src/H5Gnode.c
+++ b/src/H5Gnode.c
@@ -232,7 +232,10 @@ H5G_node_debug_key (FILE *stream, H5F_t *f, hid_t dxpl_id, int indent, int fwidt
FUNC_ENTER_NOAPI(H5G_node_debug_key, FAIL);
assert (key);
- HDfprintf(stream, "%*s%-*s ", indent, "", fwidth, "Name :");
+ HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth, "Heap offset:",
+ (unsigned)key->offset);
+
+ HDfprintf(stream, "%*s%-*s ", indent, "", fwidth, "Name:");
if (NULL == (s = H5HL_peek(f, dxpl_id, udata->heap_addr, key->offset)))
HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "unable to read symbol name");
HDfprintf (stream, "%s\n", s);