* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.

This commit is contained in:
Mark Kettenis 2004-08-10 16:05:38 +00:00
parent 99877b66ad
commit 21749010c8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-08-10 Mark Kettenis <kettenis@gnu.org>
* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
2004-08-09 Joel Brobecker <brobecker@gnat.com>
General cleanup of the AIX xm include file:

View File

@ -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;
}