From 639f218f9c16af19e77e677c9329cada3d037ee0 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Sat, 11 Apr 2026 09:10:02 +0100 Subject: [PATCH] Fix format string mismatch for `uint64_t` in `_remote_debugging/threads.c` (#148360) --- Modules/_remote_debugging/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_remote_debugging/threads.c b/Modules/_remote_debugging/threads.c index a38bb945169a..07f8148d7c94 100644 --- a/Modules/_remote_debugging/threads.c +++ b/Modules/_remote_debugging/threads.c @@ -192,7 +192,7 @@ get_thread_status(RemoteUnwinderObject *unwinder, uint64_t tid, uint64_t pthread char stat_path[256]; char buffer[2048] = ""; - snprintf(stat_path, sizeof(stat_path), "/proc/%d/task/%lu/stat", unwinder->handle.pid, tid); + snprintf(stat_path, sizeof(stat_path), "/proc/%d/task/%" PRIu64 "/stat", unwinder->handle.pid, tid); int fd = open(stat_path, O_RDONLY); if (fd == -1) { -- 2.47.3