diff options
author | Richard Henderson <rth@twiddle.net> | 2010-03-26 09:48:44 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2010-03-26 09:48:44 -0700 |
commit | 68cf34be99d6d6241bd25a091d0e511121497ef9 (patch) | |
tree | 5f85465f78ba583220aca74f3785aab9effe6876 | |
parent | 6e9331df8bb546363724aaf50d8b023a0167c06d (diff) | |
download | glibc-68cf34be99d6d6241bd25a091d0e511121497ef9.tar.gz glibc-68cf34be99d6d6241bd25a091d0e511121497ef9.tar.xz glibc-68cf34be99d6d6241bd25a091d0e511121497ef9.zip |
Fix printf format warning for si_band.
Signed-off-by: Richard Henderson <rth@twiddle.net>
-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); |