mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-28 02:50:41 +03:00
add dlerror to another error path
This commit is contained in:
parent
1f84f09381
commit
f2f8855b76
@ -49,8 +49,8 @@ void *load_shared_library(struct cmd_context *cmd, const char *libname,
|
||||
|
||||
if (!(library = dlopen(path, RTLD_LAZY | RTLD_GLOBAL))) {
|
||||
if (silent && ignorelockingfailure())
|
||||
log_verbose("Unable to open external %s library %s",
|
||||
desc, path);
|
||||
log_verbose("Unable to open external %s library %s: %s",
|
||||
desc, path, dlerror());
|
||||
else
|
||||
log_error("Unable to open external %s library %s: %s",
|
||||
desc, path, dlerror());
|
||||
|
Loading…
x
Reference in New Issue
Block a user