From a94b7dc94d95d500edebdfa3f3d6df1a7c4394de Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 15 Aug 2004 12:12:47 +0000 Subject: [PATCH] * proc-why.c (proc_prettyfprint_why): Fix format string. --- gdb/ChangeLog | 2 ++ gdb/proc-why.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18dfe0ea96..5996e03403 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2004-08-15 Mark Kettenis + * proc-why.c (proc_prettyfprint_why): Fix format string. + * solib-osf.c (osf_current_sos): Remove unsused label. * configure.in: Add to the list of possible diff --git a/gdb/proc-why.c b/gdb/proc-why.c index 15af16cb17..babaff5ae9 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: -- 2.11.0