summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-03-18 22:00:24 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-03-18 22:00:24 (GMT)
commit9a720f99fe33bbbe1de4efbfc9a15f0e512f2eb5 (patch)
treee157164873c0f153273183792ac7da093bb42b1a /src
parentf2b142f6ed4bc50cedfbb652cb286d309e88718b (diff)
downloadhdf5-9a720f99fe33bbbe1de4efbfc9a15f0e512f2eb5.zip
hdf5-9a720f99fe33bbbe1de4efbfc9a15f0e512f2eb5.tar.gz
hdf5-9a720f99fe33bbbe1de4efbfc9a15f0e512f2eb5.tar.bz2
[svn-r23370] Corrected macro name and removed optional function info in ERROR macro
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) { \