[PATCH] Fix compiler warning in proc-why.c
Mark Kettenis
kettenis@chello.nl
Sun Aug 15 12:12:00 GMT 2004
Committed as obvious.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* proc-why.c (proc_prettyfprint_why): Fix format string.
Index: proc-why.c
===================================================================
RCS file: /cvs/src/src/gdb/proc-why.c,v
retrieving revision 1.3
diff -u -p -r1.3 proc-why.c
--- proc-why.c 6 Mar 2001 08:21:11 -0000 1.3
+++ proc-why.c 15 Aug 2004 12:11:35 -0000
@@ -154,7 +154,7 @@ proc_prettyfprint_why (FILE *file, unsig
#endif
#ifdef PR_DEAD
case PR_DEAD:
- fprintf (file, "Exit status: %d\n", what);
+ fprintf (file, "Exit status: %ld\n", what);
break;
#endif
default:
More information about the Gdb-patches
mailing list