stlink: stlink_interface_init_target use hex prefix

Change-Id: I782da74687bcf111c1f04c53b2c1120d6a034441
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/791
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
__archive__
Spencer Oliver 2012-08-23 15:23:54 +01:00 committed by Freddie Chopin
parent 0989cd4d5d
commit 4be685c616
1 changed files with 2 additions and 3 deletions

View File

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