[Pcsclite-cvs-commit] r1881 - trunk/PCSC/src

Ludovic Rousseau rousseau at costa.debian.org
Fri Feb 24 10:28:07 UTC 2006


Author: rousseau
Date: 2006-02-24 10:28:06 +0000 (Fri, 24 Feb 2006)
New Revision: 1881

Modified:
   trunk/PCSC/src/winscard.c
Log:
SCardTransmit(): use 0x%08lX instead of %ld since the return codes are
defined in hex in PCSC/pcsclite.h


Modified: trunk/PCSC/src/winscard.c
===================================================================
--- trunk/PCSC/src/winscard.c	2006-02-23 07:26:41 UTC (rev 1880)
+++ trunk/PCSC/src/winscard.c	2006-02-24 10:28:06 UTC (rev 1881)
@@ -1488,7 +1488,7 @@
 	if (rv != SCARD_S_SUCCESS)
 	{
 		*pcbRecvLength = 0;
-		Log2(PCSC_LOG_ERROR, "Card not transacted: %ld", rv);
+		Log2(PCSC_LOG_ERROR, "Card not transacted: 0x%08lX", rv);
 		return SCARD_E_NOT_TRANSACTED;
 	}
 




More information about the Pcsclite-cvs-commit mailing list