From: Karl Palsson Date: Fri, 19 Dec 2014 14:20:40 +0000 (+0000) Subject: contrib: itmdump: fix incorrect format printf X-Git-Tag: v0.9.0-rc1~100 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=552c8c5971424fd7786e91f7e0987b412a8dce53;p=openocd contrib: itmdump: fix incorrect format printf Change-Id: I29100e4b284e031613586a66daa74987d86ac9e1 Signed-off-by: Karl Palsson Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2449 Tested-by: jenkins Reviewed-by: Uwe Bonnes Reviewed-by: Stian Skjelstad Reviewed-by: Spencer Oliver --- diff --git a/contrib/itmdump.c b/contrib/itmdump.c index 9d313ffb..fe835493 100644 --- a/contrib/itmdump.c +++ b/contrib/itmdump.c @@ -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; }