[Pcsclite-cvs-commit] PCSC/src tokenparser.l,1.9,1.10

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv15536

Modified Files:
	tokenparser.l 
Log Message:
display the error message (errno) if the bundle file cannot be opened


Index: tokenparser.l
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/tokenparser.l,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- tokenparser.l	18 Oct 2003 18:24:00 -0000	1.9
+++ tokenparser.l	30 May 2004 19:33:07 -0000	1.10
@@ -111,7 +111,8 @@
 
 	if (!file)
 	{
-		DebugLogB("Could not open bundle file : %s", fileName);
+		DebugLogC("Could not open bundle file %s: %s", fileName,
+			strerror(errno));
 		return 1;
 	}