summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 00dbe46..89cadcf 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -983,7 +983,7 @@ H5Pget_driver (hid_t tid)
/* Check arguments */
if (H5P_FILE_ACCESS != H5Pget_class (tid) ||
NULL == (tmpl = H5A_object (tid))) {
- HRETURN_ERROR (H5E_ARGS, H5E_BADTYPE, FAIL,
+ HRETURN_ERROR (H5E_ARGS, H5E_BADTYPE, H5F_LOW_ERROR,
"not a file access property list");
}