diff options
author | June McEnroe <june@causal.agency> | 2018-04-16 22:37:02 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-04-16 22:37:19 -0400 |
commit | 0ec89d0df5385cf40b204dff84ea47ded7985236 (patch) | |
tree | af718e3bbd7588cc060fe5669f2a650b3a93660b /bin/xx.c | |
parent | Add 0 bind to brot (diff) | |
download | src-0ec89d0df5385cf40b204dff84ea47ded7985236.tar.gz src-0ec89d0df5385cf40b204dff84ea47ded7985236.zip |
Always hexadecimal in uppercase
I still haven't been able to actually test scheme's Linux console output...
Diffstat (limited to '')
-rw-r--r-- | bin/xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/xx.c b/bin/xx.c index e610c276..82e00b43 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(" "); } |