diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | stdio-common/psiginfo.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 23393e6763..367eafd7ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-03-26 Richard Henderson <rth@redhat.com> + * stdio-common/psiginfo.c (psiginfo): Fix printf format + warning for si_band. + +2010-03-26 Richard Henderson <rth@redhat.com> + * locale/setlocale.c (free_category): Finish renaming struct locale_data to __locale_data. diff --git a/stdio-common/psiginfo.c b/stdio-common/psiginfo.c index e089fcaa42..90cdf05909 100644 --- a/stdio-common/psiginfo.c +++ b/stdio-common/psiginfo.c @@ -170,7 +170,7 @@ Signal generated by the completion of an I/O request"); fprintf (fp, "%ld %d %ld)", (long int) pinfo->si_pid, pinfo->si_status, (long int) pinfo->si_uid); else if (pinfo->si_signo == SIGPOLL) - fprintf (fp, "%ld)", pinfo->si_band); + fprintf (fp, "%ld)", (long int) pinfo->si_band); else fprintf (fp, "%ld %ld)", (long int) pinfo->si_pid, (long int) pinfo->si_uid); |