[Pcsclite-cvs-commit] r2704 - /trunk/HandlerTest/Host/handler_test.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Nov 17 15:13:23 UTC 2007


Author: rousseau
Date: Sat Nov 17 15:13:23 2007
New Revision: 2704

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2704
Log:
display dlsym error message

Modified:
    trunk/HandlerTest/Host/handler_test.c

Modified: trunk/HandlerTest/Host/handler_test.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/HandlerTest/Host/handler_test.c?rev=2704&op=diff
==============================================================================
--- trunk/HandlerTest/Host/handler_test.c (original)
+++ trunk/HandlerTest/Host/handler_test.c Sat Nov 17 15:13:23 2007
@@ -55,7 +55,7 @@
 
 #define DLSYM(func)  f.func = dlsym(lib_handle, "" # func); \
 	if (f.func == NULL) { \
-	DEBUG("dlsym: " # func); \
+	DEBUG2("dlsym: %s", dlerror()); \
 	return 1; }
 
 #define PCSC_ERROR(x) printf("%s:%d " x ": %s\n", __FILE__, __LINE__, ifd_error(rv))




More information about the Pcsclite-cvs-commit mailing list