[Pcsclite-git-commit] [CCID] 03/05: OpenUSBByName(): fix the order of interfaces in log

Ludovic Rousseau rousseau at moszumanska.debian.org
Wed Sep 16 16:31:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository CCID.

commit 94142da9a4b11bf9cd2b429e1a15139936c751af
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Wed Sep 16 18:10:45 2015 +0200

    OpenUSBByName(): fix the order of interfaces in log
    
    The log message "Found interface %d but expecting %d" has the parameters
    inversed.
    The order is not corrected.
---
 src/ccid_usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ccid_usb.c b/src/ccid_usb.c
index cae44ef..38591b7 100644
--- a/src/ccid_usb.c
+++ b/src/ccid_usb.c
@@ -571,7 +571,7 @@ again:
 					/* an interface was specified and it is not the
 					 * current one */
 					DEBUG_INFO3("Found interface %d but expecting %d",
-						interface_number, interface);
+						interface, interface_number);
 					DEBUG_INFO3("Wrong interface for USB device %d/%d."
 						" Checking next one.", bus_number, device_address);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/CCID.git



More information about the Pcsclite-cvs-commit mailing list