diff options
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 19d7ae3..b94e037 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -5132,7 +5132,7 @@ procfs_pid_to_str (ptid_t ptid) if (TIDGET (ptid) == 0) sprintf (buf, "process %d", PIDGET (ptid)); else - sprintf (buf, "LWP %d", TIDGET (ptid)); + sprintf (buf, "LWP %ld", TIDGET (ptid)); return buf; } |