summaryrefslogtreecommitdiffstats
path: root/src/H5PLpath.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-02 04:16:11 (GMT)
committerGitHub <noreply@github.com>2023-08-02 04:16:11 (GMT)
commit56451503c55ef6e5f67fc3bb710f9e5b649b1af2 (patch)
treef7bd6533dcb6ef8d6eb8f628a869105f3ddb29a3 /src/H5PLpath.c
parent74352dfda887c2ffe336bbcea19ee978dcd2ce8c (diff)
downloadhdf5-56451503c55ef6e5f67fc3bb710f9e5b649b1af2.zip
hdf5-56451503c55ef6e5f67fc3bb710f9e5b649b1af2.tar.gz
hdf5-56451503c55ef6e5f67fc3bb710f9e5b649b1af2.tar.bz2
Fix loading plugin fails with missing directory GH issue #3248 (#3315)
Diffstat (limited to 'src/H5PLpath.c')
-rw-r--r--src/H5PLpath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5PLpath.c b/src/H5PLpath.c
index c47c6fa..5681c1f 100644
--- a/src/H5PLpath.c
+++ b/src/H5PLpath.c
@@ -801,8 +801,7 @@ H5PL__find_plugin_in_path_table(const H5PL_search_params_t *search_params, hbool
/* Search for the plugin in this path */
if (H5PL__find_plugin_in_path(search_params, found, H5PL_paths_g[u], plugin_info) < 0)
- HGOTO_ERROR(H5E_PLUGIN, H5E_CANTGET, FAIL, "search in path %s encountered an error",
- H5PL_paths_g[u])
+ HERROR(H5E_PLUGIN, H5E_CANTGET, "search in path %s encountered an error", H5PL_paths_g[u]);
/* Break out if found */
if (*found) {