This is the mail archive of the
lvm2-cvs@sourceware.org
mailing list for the LVM2 project.
LVM2/lib/misc sharedlib.c
- From: agk at sourceware dot org
- To: lvm2-cvs at sourceware dot org
- Date: 5 Jul 2006 17:26:37 -0000
- Subject: LVM2/lib/misc sharedlib.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2006-07-05 17:26:36
Modified files:
lib/misc : sharedlib.c
Log message:
add dlerror to another error path
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/misc/sharedlib.c.diff?cvsroot=lvm2&r1=1.10&r2=1.11
--- LVM2/lib/misc/sharedlib.c 2006/07/04 19:40:27 1.10
+++ LVM2/lib/misc/sharedlib.c 2006/07/05 17:26:36 1.11
@@ -49,8 +49,8 @@
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());