summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-08-31 19:22:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-08-31 19:22:03 (GMT)
commit49fd0efca3dd515b07b47109cc999e7804874583 (patch)
tree3eec77e8e9dbb3bbe5f2f798804948fcf4b530b5 /src/H5O.c
parentd222611cd36780a55aa25492d7e2af76f89a742f (diff)
downloadhdf5-49fd0efca3dd515b07b47109cc999e7804874583.zip
hdf5-49fd0efca3dd515b07b47109cc999e7804874583.tar.gz
hdf5-49fd0efca3dd515b07b47109cc999e7804874583.tar.bz2
[svn-r2491] Added type of data parameter to H5F_block_write calls.
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5O.c b/src/H5O.c
index a064da1..5284c80 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -583,7 +583,7 @@ H5O_flush(H5F_t *f, hbool_t destroy, haddr_t addr, H5O_t *oh)
if (IS_H5FD_MPIO(f))
H5FD_mpio_tas_allsame(f->shared->lf, TRUE); /*only p0 will write*/
#endif /* H5_HAVE_PARALLEL */
- if (H5F_block_write(f, addr, (hsize_t)H5O_SIZEOF_HDR(f),
+ if (H5F_block_write(f, H5FD_MEM_OHDR, addr, (hsize_t)H5O_SIZEOF_HDR(f),
H5P_DEFAULT, buf) < 0) {
HRETURN_ERROR(H5E_OHDR, H5E_WRITEERROR, FAIL,
"unable to write object header hdr to disk");
@@ -673,7 +673,7 @@ H5O_flush(H5F_t *f, hbool_t destroy, haddr_t addr, H5O_t *oh)
if (IS_H5FD_MPIO(f))
H5FD_mpio_tas_allsame(f->shared->lf, TRUE); /*only p0 write*/
#endif /* H5_HAVE_PARALLEL */
- if (H5F_block_write(f, addr,
+ if (H5F_block_write(f, H5FD_MEM_OHDR, addr,
(hsize_t)(H5O_SIZEOF_HDR(f)+oh->chunk[i].size),
H5P_DEFAULT, p) < 0) {
HRETURN_ERROR(H5E_OHDR, H5E_WRITEERROR, FAIL,
@@ -688,7 +688,7 @@ H5O_flush(H5F_t *f, hbool_t destroy, haddr_t addr, H5O_t *oh)
if (IS_H5FD_MPIO(f))
H5FD_mpio_tas_allsame(f->shared->lf, TRUE); /*only p0 write*/
#endif /* H5_HAVE_PARALLEL */
- if (H5F_block_write(f, oh->chunk[i].addr,
+ if (H5F_block_write(f, H5FD_MEM_OHDR, oh->chunk[i].addr,
(hsize_t)(oh->chunk[i].size),
H5P_DEFAULT, oh->chunk[i].image) < 0) {
HRETURN_ERROR(H5E_OHDR, H5E_WRITEERROR, FAIL,