From dcfce59492fb3003a61e161c2bbc32e2072c2ee4 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 16 Apr 2018 22:37:02 -0400 Subject: Always hexadecimal in uppercase I still haven't been able to actually test scheme's Linux console output... --- bin/xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/xx.c') diff --git a/bin/xx.c b/bin/xx.c index 688db8bc..9b2d3ca3 100644 --- a/bin/xx.c +++ b/bin/xx.c @@ -59,7 +59,7 @@ static void dump(FILE *file) { } if (options.offset) { - printf("%08zx: ", offset); + printf("%08zX: ", offset); } for (size_t i = 0; i < sizeof(buf); ++i) { @@ -69,7 +69,7 @@ static void dump(FILE *file) { } } if (i < size) { - printf("%02hhx ", buf[i]); + printf("%02hhX ", buf[i]); } else { printf(" "); } -- cgit 1.4.1