]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
libcacard: remove unnecessary EOL from debug prints
authorAlon Levy <alevy@redhat.com>
Mon, 5 May 2014 14:41:32 +0000 (17:41 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 7 May 2014 17:00:44 +0000 (21:00 +0400)
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
libcacard/vreader.c

index 5793d73ff5bb1db0e9d7428583cbf3e57e53f525..77202951fbae1309537f5301be2337032dafad50 100644 (file)
@@ -273,12 +273,12 @@ vreader_xfr_bytes(VReader *reader,
         response = vcard_make_response(status);
         card_status = VCARD_DONE;
     } else {
-        g_debug("%s: CLS=0x%x,INS=0x%x,P1=0x%x,P2=0x%x,Lc=%d,Le=%d %s\n",
+        g_debug("%s: CLS=0x%x,INS=0x%x,P1=0x%x,P2=0x%x,Lc=%d,Le=%d %s",
               __func__, apdu->a_cla, apdu->a_ins, apdu->a_p1, apdu->a_p2,
               apdu->a_Lc, apdu->a_Le, apdu_ins_to_string(apdu->a_ins));
         card_status = vcard_process_apdu(card, apdu, &response);
         if (response) {
-            g_debug("%s: status=%d sw1=0x%x sw2=0x%x len=%d (total=%d)\n",
+            g_debug("%s: status=%d sw1=0x%x sw2=0x%x len=%d (total=%d)",
                   __func__, response->b_status, response->b_sw1,
                   response->b_sw2, response->b_len, response->b_total_len);
         }