contrib: itmdump: fix incorrect format printf

Change-Id: I29100e4b284e031613586a66daa74987d86ac9e1
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2449
Tested-by: jenkins
Reviewed-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-by: Stian Skjelstad <stian@nixia.no>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Karl Palsson 2014-12-19 14:20:40 +00:00 committed by Paul Fertser
parent 1d0cf0df37
commit 552c8c5971
1 changed files with 2 additions and 2 deletions

View 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;
}