* 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

@ -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: