OSDN Git Service

* procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
authorkettenis <kettenis>
Tue, 10 Aug 2004 16:05:35 +0000 (16:05 +0000)
committerkettenis <kettenis>
Tue, 10 Aug 2004 16:05:35 +0000 (16:05 +0000)
gdb/ChangeLog
gdb/procfs.c

index 6bb50ba..0e91ff3 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 19d7ae3..b94e037 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;
 }