mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user