[Spice-devel] [cacard 1/7] Fix 'Reqested' typo

Christophe Fergeau cfergeau at redhat.com
Fri Aug 10 08:04:23 UTC 2018


Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
---
 src/cac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cac.c b/src/cac.c
index ba63685..0e713cc 100644
--- a/src/cac.c
+++ b/src/cac.c
@@ -398,7 +398,7 @@ cac_common_process_apdu_read(VCard *card, VCardAPDU *apdu,
 
         /* P1 | P2 defines offset to read from */
         offset = (apdu->a_p1 << 8) | apdu->a_p2;
-        g_debug("%s: Reqested offset: %d bytes", __func__, offset);
+        g_debug("%s: Requested offset: %d bytes", __func__, offset);
 
         /* First byte selects TAG+LEN or VALUE buffer */
         switch (apdu->a_body[0]) {
@@ -414,7 +414,7 @@ cac_common_process_apdu_read(VCard *card, VCardAPDU *apdu,
                         apdu->a_Le, VCARD7816_SW1_SUCCESS, 0);
             break;
         case CAC_FILE_TAG:
-            g_debug("%s: Reqested: %d bytes", __func__, size);
+            g_debug("%s: Requested: %d bytes", __func__, size);
             size = MIN(size, applet_private->tag_buffer_len - offset);
             if (size < 0) { /* Overrun returns (SW1=0x6A, SW2=0x86) */
                 *response = vcard_make_response(
-- 
2.17.1



More information about the Spice-devel mailing list