[Pcsclite-cvs-commit] r6627 - /trunk/Drivers/ccid/src/parse.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Mon May 13 12:41:13 UTC 2013


Author: rousseau
Date: Mon May 13 12:41:12 2013
New Revision: 6627

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6627
Log:
parse: make the use of -p argument more explicit

The error message now displays:
"use ./parse -p" (or whatever the program name is)

Modified:
    trunk/Drivers/ccid/src/parse.c

Modified: trunk/Drivers/ccid/src/parse.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/parse.c?rev=6627&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/parse.c (original)
+++ trunk/Drivers/ccid/src/parse.c Mon May 13 12:41:12 2013
@@ -174,7 +174,7 @@
 		if (!class_ff && (0xFF == usb_interface->altsetting->bInterfaceClass))
 		{
 			(void)libusb_close(handle);
-			(void)fprintf(stderr, MAGENTA "  Found a possibly CCID/ICCD device (bInterfaceClass = 0xFF). Use -p\n" NORMAL);
+			(void)fprintf(stderr, MAGENTA "  Found a possibly CCID/ICCD device (bInterfaceClass = 0xFF). Use %s -p\n" NORMAL, argv[0]);
 			continue;
 		}
 		(void)fprintf(stderr,




More information about the Pcsclite-cvs-commit mailing list