* proc-why.c (proc_prettyfprint_why): Fix format string.

This commit is contained in:
Mark Kettenis 2004-08-15 12:12:47 +00:00
parent 61ad16d19e
commit 849a1d7cc9
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2004-08-15 Mark Kettenis <kettenis@gnu.org> 2004-08-15 Mark Kettenis <kettenis@gnu.org>
* proc-why.c (proc_prettyfprint_why): Fix format string.
* solib-osf.c (osf_current_sos): Remove unsused label. * solib-osf.c (osf_current_sos): Remove unsused label.
* configure.in: Add <ncurses/ncurses.h> to the list of possible * configure.in: Add <ncurses/ncurses.h> to the list of possible

View file

@ -154,7 +154,7 @@ proc_prettyfprint_why (FILE *file, unsigned long why, unsigned long what,
#endif #endif
#ifdef PR_DEAD #ifdef PR_DEAD
case PR_DEAD: case PR_DEAD:
fprintf (file, "Exit status: %d\n", what); fprintf (file, "Exit status: %ld\n", what);
break; break;
#endif #endif
default: default: