[Pcsclite-cvs-commit] r4913 - /trunk/PCSC/src/winscard_clnt.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon May 3 09:38:59 UTC 2010
Author: rousseau
Date: Mon May 3 09:38:59 2010
New Revision: 4913
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4913
Log:
SCardEstablishContext(): also log the binary name if execl() fails
Modified:
trunk/PCSC/src/winscard_clnt.c
Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=4913&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Mon May 3 09:38:59 2010
@@ -436,7 +436,8 @@
/* son process */
ret = execl(PCSCD_BINARY, "pcscd", "--auto-exit", param,
(char *)NULL);
- Log2(PCSC_LOG_CRITICAL, "exec failed: %s", strerror(errno));
+ Log2(PCSC_LOG_CRITICAL, "exec " PCSCD_BINARY " failed: %s",
+ strerror(errno));
exit(1);
}
More information about the Pcsclite-cvs-commit
mailing list