summaryrefslogtreecommitdiffstats
path: root/src/H5Farray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Farray.c')
-rw-r--r--src/H5Farray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Farray.c b/src/H5Farray.c
index f2b79f1..db23acc 100644
--- a/src/H5Farray.c
+++ b/src/H5Farray.c
@@ -539,7 +539,7 @@ H5F_arr_write(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout,
HRETURN_ERROR(H5E_IO, H5E_READERROR, FAIL,
"external data write failed");
}
- } else if (H5F_block_write(f, addr, elmt_size, dxpl_id, buf)<0) {
+ } else if (H5F_block_write(f, H5FD_MEM_DRAW, addr, elmt_size, dxpl_id, buf)<0) {
HRETURN_ERROR(H5E_IO, H5E_WRITEERROR, FAIL,
"block write failed");
}