]> git.sur5r.net Git - openocd/blobdiff - contrib/itmdump.c
contrib: itmdump: fix incorrect format printf
[openocd] / contrib / itmdump.c
index 9d313ffbfe297d1d3901da11d989bb680d957f82..fe835493437587eff7bb385d0b869c29d64e03c9 100644 (file)
@@ -146,7 +146,7 @@ static void show_hard(FILE *f, int c)
        unsigned size;
        char *label;
 
-       printf("DWT - ", type);
+       printf("DWT - ");
 
        if (!read_varlen(f, c, &value))
                return;
@@ -216,7 +216,7 @@ static void show_hard(FILE *f, int c)
                }
                break;
        default:
-               printf("UNDEFINED");
+               printf("UNDEFINED, rawtype: %x", type);
                break;
        }