Skip to content

Commit 457ad09

Browse files
committed
rtos/zephyr: fix thread_ids are printed as decimals
Makes more sense to print thread IDs as hex since they're not just IDs, they're thread structs' addresses. Signed-off-by: Alp Sayin <alpsayin@gmail.com>
1 parent c5c7a76 commit 457ad09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtos/zephyr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ static int zephyr_get_thread_reg_list(struct rtos *rtos, int64_t thread_id,
882882
target_addr_t addr;
883883
int retval;
884884

885-
LOG_INFO("Getting thread %" PRId64 " reg list", thread_id);
885+
LOG_INFO("Getting thread %" PRIx64 " reg list", thread_id);
886886

887887
if (!rtos)
888888
return ERROR_FAIL;

0 commit comments

Comments
 (0)