* proc-why.c (proc_prettyfprint_why): Fix format string.
authorMark Kettenis <kettenis@gnu.org>
Sun, 15 Aug 2004 12:12:47 +0000 (12:12 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 15 Aug 2004 12:12:47 +0000 (12:12 +0000)
gdb/ChangeLog
gdb/proc-why.c

index 18dfe0ea96ddb948161885a81be0dae8db835226..5996e03403c54c7913845cf8a38d741e9e813245 100644 (file)
@@ -1,5 +1,7 @@
 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
 
+       * proc-why.c (proc_prettyfprint_why): Fix format string.
+
        * solib-osf.c (osf_current_sos): Remove unsused label.
 
        * configure.in: Add <ncurses/ncurses.h> to the list of possible
index 15af16cb171259e743890d53eda0aaaab708a938..babaff5ae992be31319452afdddff93d0aed5551 100644 (file)
@@ -154,7 +154,7 @@ proc_prettyfprint_why (FILE *file, unsigned long why, unsigned long what,
 #endif
 #ifdef PR_DEAD
        case PR_DEAD:
-         fprintf (file, "Exit status: %d\n", what);
+         fprintf (file, "Exit status: %ld\n", what);
          break;
 #endif
        default:
This page took 0.030633 seconds and 4 git commands to generate.