Skip to content

Commit aa15112

Browse files
Fix format string mismatch for uint64_t in _remote_debugging/threads.c
1 parent 8f17140 commit aa15112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_remote_debugging/threads.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ get_thread_status(RemoteUnwinderObject *unwinder, uint64_t tid, uint64_t pthread
192192
char stat_path[256];
193193
char buffer[2048] = "";
194194

195-
snprintf(stat_path, sizeof(stat_path), "/proc/%d/task/%lu/stat", unwinder->handle.pid, tid);
195+
snprintf(stat_path, sizeof(stat_path), "/proc/%d/task/%" PRIu64 "/stat", unwinder->handle.pid, tid);
196196

197197
int fd = open(stat_path, O_RDONLY);
198198
if (fd == -1) {

0 commit comments

Comments
 (0)