summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-10-24 18:18:09 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-10-24 18:18:09 (GMT)
commit6aa0dd16204aa1f4f0ea5d15ba8b2d7e6a381278 (patch)
treeb8207a413721b6fee5b2592a7be09091d421dcc7 /tools
parentad0bc2660401e7334e9bb8fe12d6946f655a5135 (diff)
downloadhdf5-6aa0dd16204aa1f4f0ea5d15ba8b2d7e6a381278.zip
hdf5-6aa0dd16204aa1f4f0ea5d15ba8b2d7e6a381278.tar.gz
hdf5-6aa0dd16204aa1f4f0ea5d15ba8b2d7e6a381278.tar.bz2
[svn-r2722] Purpose:
Feature symmetry Description: A while ago I needed to get the 'type' of data being accessed during writes to the VFL driver, so I put in code to get the information down there. Albert asked for the same information during reads, so I've added that in. Tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'tools')
-rw-r--r--tools/h5debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5debug.c b/tools/h5debug.c
index 07ff6b4..7f4e91a 100644
--- a/tools/h5debug.c
+++ b/tools/h5debug.c
@@ -96,7 +96,7 @@ main(int argc, char *argv[])
* Read the signature at the specified file position.
*/
HDfprintf(stdout, "Reading signature at address %a (rel)\n", addr);
- if (H5F_block_read(f, addr, (hsize_t)sizeof(sig), H5P_DEFAULT, sig)<0) {
+ if (H5F_block_read(f, H5FD_MEM_SUPER, addr, (hsize_t)sizeof(sig), H5P_DEFAULT, sig)<0) {
fprintf(stderr, "cannot read signature\n");
HDexit(3);
}