summaryrefslogtreecommitdiff
path: root/gdb/proc-why.c
diff options
context:
space:
mode:
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 15af16cb171..babaff5ae99 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: