This is the mail archive of the lvm2-cvs@sourceware.org mailing list for the LVM2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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());


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]