diff options
Diffstat (limited to 'test/lheap.c')
-rw-r--r-- | test/lheap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lheap.c b/test/lheap.c index 8f496f4..60c0b85 100644 --- a/test/lheap.c +++ b/test/lheap.c @@ -125,7 +125,7 @@ main(void) for (j=4; j<i; j++) buf[j] = '0' + j%10; if (j>4) buf[j] = '\0'; - if (NULL == (heap = H5HL_protect(f, H5P_DATASET_XFER_DEFAULT, heap_addr))) { + if (NULL == (heap = H5HL_protect(f, H5P_DATASET_XFER_DEFAULT, heap_addr, H5AC_READ))) { H5_FAILED(); H5Eprint2(H5E_DEFAULT, stdout); goto error; |