From: Stan Ulbrych Date: Sat, 11 Apr 2026 08:10:02 +0000 (+0100) Subject: Fix format string mismatch for `uint64_t` in `_remote_debugging/threads.c` (#148360) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=639f218f9c16af19e77e677c9329cada3d037ee0;p=thirdparty%2FPython%2Fcpython.git Fix format string mismatch for `uint64_t` in `_remote_debugging/threads.c` (#148360) --- 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) {