summaryrefslogtreecommitdiffstats
path: root/tools/h5debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5debug.c')
-rw-r--r--tools/h5debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5debug.c b/tools/h5debug.c
index 54c9d38..d842958 100644
--- a/tools/h5debug.c
+++ b/tools/h5debug.c
@@ -90,7 +90,8 @@ main(int argc, char *argv[])
printf("Reading signature at address ");
H5F_addr_print(stdout, &addr);
printf(" (rel)\n");
- if (H5F_block_read(f, &addr, (hsize_t)sizeof(sig), H5D_XFER_DFLT, sig)<0) {
+ if (H5F_block_read(f, &addr, (hsize_t)sizeof(sig), &H5F_xfer_dflt,
+ sig)<0) {
fprintf(stderr, "cannot read signature\n");
HDexit(3);
}