aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-why.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-15 12:12:47 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-15 12:12:47 +0000
commit849a1d7cc9af208fd7468f77620ddafea8a31d92 (patch)
tree09bf12315816a49e8df3883074686a3f2553aac0 /gdb/proc-why.c
parent61ad16d19e8a98608352f721518b750eed6440a6 (diff)
downloadgdb-849a1d7cc9af208fd7468f77620ddafea8a31d92.zip
gdb-849a1d7cc9af208fd7468f77620ddafea8a31d92.tar.gz
gdb-849a1d7cc9af208fd7468f77620ddafea8a31d92.tar.bz2
* proc-why.c (proc_prettyfprint_why): Fix format string.
Diffstat (limited to 'gdb/proc-why.c')
-rw-r--r--gdb/proc-why.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/proc-why.c b/gdb/proc-why.c
index 15af16c..babaff5 100644
--- a/gdb/proc-why.c
+++ b/gdb/proc-why.c
@@ -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: