summaryrefslogtreecommitdiffstats
path: root/tools/misc
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-11-04 21:34:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-11-04 21:34:26 (GMT)
commit51bb07ba914eaff9389511f732fdf0e2f920306f (patch)
tree2037e4703ca3f4b5ffee33ceaeec331f45b56c8c /tools/misc
parent9f58bc50cf9f786ab822e0bd971b2b42bdc95338 (diff)
downloadhdf5-51bb07ba914eaff9389511f732fdf0e2f920306f.zip
hdf5-51bb07ba914eaff9389511f732fdf0e2f920306f.tar.gz
hdf5-51bb07ba914eaff9389511f732fdf0e2f920306f.tar.bz2
[svn-r19728] Description:
Bring r19725 from trunk to 1.8 branch: Add a little bit of extra info to the output from h5debug when displaying global heaps, and make it dump the file's superblock again when an address is not given on the command line. Tested on: FreeBSD/32 6.3 (duty) w/debug (too minor to require h5committest)
Diffstat (limited to 'tools/misc')
-rw-r--r--tools/misc/h5debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5debug.c b/tools/misc/h5debug.c
index 6d5c2af..b0bcfbb 100644
--- a/tools/misc/h5debug.c
+++ b/tools/misc/h5debug.c
@@ -146,7 +146,7 @@ main(int argc, char *argv[])
{
hid_t fid, fapl, dxpl;
H5F_t *f;
- haddr_t addr = 1, extra = 0, extra2 = 0, extra3 = 0, extra4 = 0;
+ haddr_t addr = 0, extra = 0, extra2 = 0, extra3 = 0, extra4 = 0;
uint8_t sig[H5F_SIGNATURE_LEN];
size_t u;
herr_t status = SUCCEED;