]> err.no Git - yubikey-personalization.old/commitdiff
_yk_hexdump: cleaner output
authorFredrik Thulin <fredrik@yubico.com>
Tue, 12 Apr 2011 15:06:03 +0000 (17:06 +0200)
committerFredrik Thulin <fredrik@yubico.com>
Tue, 12 Apr 2011 15:06:03 +0000 (17:06 +0200)
ykcore/ykcore.c

index 8a073318b7545bef2336829e1c906fd4acaec202..56a6752b72b16a7cb6403ee2c1474451497ef886 100644 (file)
@@ -588,7 +588,7 @@ void _yk_hexdump(void *buffer, int size)
        unsigned char *p = buffer;
        int i;
        for (i = 0; i < size; i++) {
-               fprintf(stderr, "\\x%02x", *p);
+               fprintf(stderr, "%02x ", *p);
                p++;
       }
       fprintf(stderr, "\n");