Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix format string mismatch for uint64_t in `_remote_debugging/threa…
…ds.c`
  • Loading branch information
StanFromIreland committed Apr 10, 2026
commit aa151123a08a9a7f708e41048596dab20b16f1d7
2 changes: 1 addition & 1 deletion Modules/_remote_debugging/threads.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading