diff options
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c index ad85a8f..6c9e8ee 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -579,8 +579,9 @@ h5_fileaccess(void) return -1; } else if (!HDstrcmp(name, "direct")) { #ifdef H5_HAVE_DIRECT - /* Linux direct read() and write() system calls */ - if (H5Pset_fapl_direct(fapl)<0) return -1; + /* Linux direct read() and write() system calls. Set memory boundary, file block size, + * and copy buffer size to the default values. */ + if (H5Pset_fapl_direct(fapl, 0, 0, 0)<0) return -1; #endif } else { /* Unknown driver */ |