summary refs log tree commit diff
path: root/bin/xx.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/xx.c4
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("   ");
             }