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 /stdio-common/psiginfo.c | |
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>
Diffstat (limited to 'stdio-common/psiginfo.c')
-rw-r--r-- | stdio-common/psiginfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |