summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordyoung <dyoung@jelly.ad.hdfgroup.org>2019-08-22 19:57:33 (GMT)
committerdyoung <dyoung@jelly.ad.hdfgroup.org>2019-08-22 19:57:33 (GMT)
commit1f728439ddf4ac94d49ddd14fb72982b66b814fd (patch)
treeaadfce8335dfdbe414eaa0e060f9a635f181f556
parent61109c76b2975c6c8347bfa6c0779624fbef1acc (diff)
downloadhdf5-1f728439ddf4ac94d49ddd14fb72982b66b814fd.zip
hdf5-1f728439ddf4ac94d49ddd14fb72982b66b814fd.tar.gz
hdf5-1f728439ddf4ac94d49ddd14fb72982b66b814fd.tar.bz2
In the error message, provide specific information that will help the
developer fix the error.
-rw-r--r--src/H5Fint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index 918c257..23213ac 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -1761,7 +1761,7 @@ H5F_open(const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id)
if(H5F_VFD_SWMR_CONFIG(file)) {
/* Page buffering and page allocation strategy have to be enabled */
if(!page_buf_size || !H5F_PAGED_AGGR(file))
- HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "file open fail with VFD SWMR writer")
+ HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "VFD SWMR file open fail: page buffering must be enabled")
/* Initialization for VFD SWMR writer and reader */
if(1 == shared->nrefs) {