openocd: use proper format with uint32_t
Modify the format strings to properly handle uint32_t data types. Change-Id: I4de49bf02c9e37b72240224c23fc83abe8a4fa83 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5819 Tested-by: jenkins
This commit is contained in:
@@ -281,7 +281,7 @@ static int hwthread_get_thread_reg(struct rtos *rtos, int64_t thread_id,
|
||||
|
||||
struct reg *reg = register_get_by_number(curr->reg_cache, reg_num, true);
|
||||
if (!reg) {
|
||||
LOG_ERROR("Couldn't find register %d in thread %" PRId64 ".", reg_num,
|
||||
LOG_ERROR("Couldn't find register %" PRIu32 " in thread %" PRId64 ".", reg_num,
|
||||
thread_id);
|
||||
return ERROR_FAIL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user