[Pcsclite-cvs-commit] CVS PCSC/src

CVS User rousseau ludovic.rousseau@free.fr
Mon, 28 Feb 2005 02:46:05 -0700


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

Modified Files:
	debuglog.c 
Log Message:
DebugLogSetLevel(): display the unknown level value


--- /cvsroot/pcsclite/PCSC/src/debuglog.c	2005/02/23 13:11:36	1.30
+++ /cvsroot/pcsclite/PCSC/src/debuglog.c	2005/02/28 09:46:03	1.31
@@ -7,7 +7,7 @@
  *  David Corcoran <corcoran@linuxnet.com>
  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
  *
- * $Id: debuglog.c,v 1.30 2005/02/23 13:11:36 rousseau Exp $
+ * $Id: debuglog.c,v 1.31 2005/02/28 09:46:03 rousseau Exp $
  */
 
 #include "config.h"
@@ -171,7 +171,8 @@
 
 		default:
 			log_level = PCSC_LOG_INFO;
-			Log1(PCSC_LOG_CRITICAL, "unknown level, using level=notice");
+			Log2(PCSC_LOG_CRITICAL, "unknown level (%d), using level=notice",
+				level);
 	}
 }