]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
authorMark Kettenis <kettenis@gnu.org>
Tue, 10 Aug 2004 16:05:38 +0000 (16:05 +0000)
committerMark Kettenis <kettenis@gnu.org>
Tue, 10 Aug 2004 16:05:38 +0000 (16:05 +0000)
gdb/ChangeLog
gdb/procfs.c

index 6bb50baf22b8ea2fbf32b7a71e1c6716b03f5efc..0e91ff3f63b67105ad64bd9cf3738e844beaa60f 100644 (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:
index 19d7ae3904c19ec3dd13e4ec88fddc9ad8fd8bd3..b94e03710acbbce524f4635ef85f41e9741e819a 100644 (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;
 }