LVM2/lib/misc sharedlib.c

agk@sourceware.org agk@sourceware.org
Wed Jul 5 17:26:00 GMT 2006


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



More information about the Lvm2-cvs mailing list