summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-10-27 14:14:22 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-10-27 14:14:22 (GMT)
commitb424328063646ff16877ecb7ee0132cab751da26 (patch)
tree6b98b5790b43d6e2dfaa88d8e784573054d12e2a
parent04b99c0c66ede0ac5b3e22f38e9277f9a916d010 (diff)
downloadhdf5-b424328063646ff16877ecb7ee0132cab751da26.zip
hdf5-b424328063646ff16877ecb7ee0132cab751da26.tar.gz
hdf5-b424328063646ff16877ecb7ee0132cab751da26.tar.bz2
Add error log for dlopen
-rw-r--r--src/H5PL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index d715079..7e4dbcc 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -93,7 +93,7 @@ typedef const void *(__cdecl *H5PL_get_plugin_info_t)(void);
#define H5PL_CLOSE_LIB(H) dlclose(H)
/* Clear error */
-#define H5PL_CLR_ERROR dlerror()
+#define H5PL_CLR_ERROR HERROR(H5E_PLUGIN, H5E_CANTGET, "can't dlopen:%s", dlerror())
typedef const void *(*H5PL_get_plugin_info_t)(void);
#endif /* H5_HAVE_WIN32_API */