diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-03-18 22:00:24 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-03-18 22:00:24 (GMT) |
commit | 9a720f99fe33bbbe1de4efbfc9a15f0e512f2eb5 (patch) | |
tree | e157164873c0f153273183792ac7da093bb42b1a | |
parent | f2b142f6ed4bc50cedfbb652cb286d309e88718b (diff) | |
download | hdf5-9a720f99fe33bbbe1de4efbfc9a15f0e512f2eb5.zip hdf5-9a720f99fe33bbbe1de4efbfc9a15f0e512f2eb5.tar.gz hdf5-9a720f99fe33bbbe1de4efbfc9a15f0e512f2eb5.tar.bz2 |
[svn-r23370] Corrected macro name and removed optional function info in ERROR macro
-rw-r--r-- | src/H5PL.c | 2 | ||||
-rw-r--r-- | src/H5PLpkg.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) { \ |