summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5PL.c2
-rw-r--r--src/H5PLpkg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index a4bc0bf..6fcf7eb 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -447,7 +447,7 @@ fprintf(stderr, "%s: H5PL_table_used_g=%d, id=%d\n", FUNC, H5PL_table_used_g, (H
for(i=0; i<H5PL_table_used_g; i++) {
if((plugin_type == (H5PL_table_g[i]).pl_type) && (type_id == (H5PL_table_g[i]).pl_id)) {
if(NULL == (H5PL_get_plugin_info = H5PL_GET_LIB_FUNC((H5PL_table_g[i]).handle, "H5PL_get_plugin_info")))
- HGOTO_ERROR(H5E_DATATYPE, H5E_CANTGET, FAIL, "can't get function: %s", H5PL_CLR_ERROR)
+ HGOTO_ERROR(H5E_DATATYPE, H5E_CANTGET, FAIL, "can't get function: H5PL_GET_LIB_FUNC")
if(NULL == (plugin_info = (*H5PL_get_plugin_info)()))
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTGET, FAIL, "can't get plugin info")
diff --git a/src/H5PLpkg.h b/src/H5PLpkg.h
index 4267e38..616bd23 100644
--- a/src/H5PLpkg.h
+++ b/src/H5PLpkg.h
@@ -76,7 +76,7 @@
#define H5PL_ERROR char *error
/* Clear error */
-#define H5PL_CLR_ERR dlerror()
+#define H5PL_CLR_ERROR dlerror()
/* Print error message */
#define H5PL_CHECK_ERR(R) { \