From: Spencer Oliver Date: Thu, 23 Aug 2012 14:23:54 +0000 (+0100) Subject: stlink: stlink_interface_init_target use hex prefix X-Git-Tag: v0.6.0-rc2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4be685c6167e8ac340cd383f0a0a61faaa45f3f8;p=openocd stlink: stlink_interface_init_target use hex prefix Change-Id: I782da74687bcf111c1f04c53b2c1120d6a034441 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/791 Tested-by: jenkins Reviewed-by: Freddie Chopin --- diff --git a/src/jtag/stlink/stlink_interface.c b/src/jtag/stlink/stlink_interface.c index 379e68d4..c06d86cf 100644 --- a/src/jtag/stlink/stlink_interface.c +++ b/src/jtag/stlink/stlink_interface.c @@ -75,9 +75,8 @@ int stlink_interface_init_target(struct target *t) } if (found == 0) { - LOG_ERROR - ("stlink_interface_init_target: target not found: idcode: %x ", - t->tap->idcode); + LOG_ERROR("stlink_interface_init_target: target not found: idcode: 0x%08x", + t->tap->idcode); return ERROR_FAIL; }