diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-10-27 14:14:22 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-10-27 14:14:22 (GMT) |
commit | b424328063646ff16877ecb7ee0132cab751da26 (patch) | |
tree | 6b98b5790b43d6e2dfaa88d8e784573054d12e2a /src | |
parent | 04b99c0c66ede0ac5b3e22f38e9277f9a916d010 (diff) | |
download | hdf5-b424328063646ff16877ecb7ee0132cab751da26.zip hdf5-b424328063646ff16877ecb7ee0132cab751da26.tar.gz hdf5-b424328063646ff16877ecb7ee0132cab751da26.tar.bz2 |
Add error log for dlopen
Diffstat (limited to 'src')
-rw-r--r-- | src/H5PL.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |