X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Frtos%2Fhwthread.c;fp=src%2Frtos%2Fhwthread.c;h=e0789aa63acf0887b79ab44a94582725ba75346e;hp=38e42a04117687d15b604a19db8b2e09a885bd96;hb=d3249fd45a7832ed922ed4227c867c3c674b4812;hpb=99add6227fe0a3be536f9b83ff6aa7dd63a8d2dc diff --git a/src/rtos/hwthread.c b/src/rtos/hwthread.c index 38e42a0411..e0789aa63a 100644 --- a/src/rtos/hwthread.c +++ b/src/rtos/hwthread.c @@ -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; }