summaryrefslogtreecommitdiffstats
path: root/src/H5PLint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5PLint.c')
-rw-r--r--src/H5PLint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5PLint.c b/src/H5PLint.c
index 4995adb..4c970c5 100644
--- a/src/H5PLint.c
+++ b/src/H5PLint.c
@@ -259,6 +259,8 @@ H5PL_load(H5PL_type_t type, const H5PL_key_t *key)
/* Set the return value we found the plugin */
if (found)
ret_value = plugin_info;
+ else
+ HGOTO_ERROR(H5E_PLUGIN, H5E_NOTFOUND, NULL, "unable to locate plugin")
done:
FUNC_LEAVE_NOAPI(ret_value)