From 552c8c5971424fd7786e91f7e0987b412a8dce53 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Fri, 19 Dec 2014 14:20:40 +0000 Subject: [PATCH] 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 --- contrib/itmdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5