From: Fredrik Thulin Date: Tue, 12 Apr 2011 15:06:03 +0000 (+0200) Subject: _yk_hexdump: cleaner output X-Git-Tag: v1.5.2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3aa9dedd396f9b639b88130292e915e2683d6ba;p=yubikey-personalization.old _yk_hexdump: cleaner output --- diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 8a07331..56a6752 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -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");