diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-08-15 12:12:47 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-08-15 12:12:47 +0000 |
commit | a94b7dc94d95d500edebdfa3f3d6df1a7c4394de (patch) | |
tree | 83f77b8bc527dbaede04602ccd4c79d222c7dac9 /gdb/proc-why.c | |
parent | dcd434cec04d1172d412b83b2b8de071dc5d4a8e (diff) | |
download | gdb-a94b7dc94d95d500edebdfa3f3d6df1a7c4394de.tar.gz |
* proc-why.c (proc_prettyfprint_why): Fix format string.
Diffstat (limited to 'gdb/proc-why.c')
-rw-r--r-- | gdb/proc-why.c | 2 |
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: |