forked from Imagelibrary/binutils-gdb
* 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