summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-09 02:51:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-09 02:51:48 (GMT)
commit4ebe2f792b23cf3f62f28e90495cd28a93bad06f (patch)
treec1b4561f6435e2b51e8606a170e54109a62870e5 /src
parentf372694841432684438046e4c75c633f738993f4 (diff)
downloadhdf5-4ebe2f792b23cf3f62f28e90495cd28a93bad06f.zip
hdf5-4ebe2f792b23cf3f62f28e90495cd28a93bad06f.tar.gz
hdf5-4ebe2f792b23cf3f62f28e90495cd28a93bad06f.tar.bz2
[svn-r12732] Description:
Fix error with passing in new root indirect block instead of NULL pointer to protect of previous root direct block, when converting heap to use a root indirect block. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
Diffstat (limited to 'src')
-rw-r--r--src/H5HFiblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFiblock.c b/src/H5HFiblock.c
index 6d0df44..503846b 100644
--- a/src/H5HFiblock.c
+++ b/src/H5HFiblock.c
@@ -432,7 +432,7 @@ HDfprintf(stderr, "%s: have_direct_block = %u\n", FUNC, (unsigned)have_direct_bl
H5HF_direct_t *dblock; /* Pointer to direct block to query */
/* Lock first (root) direct block */
- if(NULL == (dblock = H5HF_man_dblock_protect(hdr, dxpl_id, hdr->man_dtable.table_addr, hdr->man_dtable.cparam.start_block_size, iblock, 0, H5AC_WRITE)))
+ if(NULL == (dblock = H5HF_man_dblock_protect(hdr, dxpl_id, hdr->man_dtable.table_addr, hdr->man_dtable.cparam.start_block_size, NULL, 0, H5AC_WRITE)))
HGOTO_ERROR(H5E_HEAP, H5E_CANTPROTECT, FAIL, "unable to protect fractal heap direct block")
/* Attach direct block to new root indirect block */