diff options
author | Clément Vasseur <clement.vasseur@gmail.com> | 2014-07-09 14:34:18 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-07-28 00:27:59 -0400 |
commit | bdd4c57e2588bf3cf273bcc3ff04a7584aa3391c (patch) | |
tree | 6946d486801c91822504da3e660edb7d29b6a838 /src/stdio/putc_unlocked.c | |
parent | 147cd60d4da59b99963e480c811f746c853bd589 (diff) | |
download | musl-bdd4c57e2588bf3cf273bcc3ff04a7584aa3391c.tar.gz musl-bdd4c57e2588bf3cf273bcc3ff04a7584aa3391c.tar.xz musl-bdd4c57e2588bf3cf273bcc3ff04a7584aa3391c.zip |
fix the %m specifier in syslog
errno must be saved upon vsyslog entry, otherwise its value could be changed by some libc function before reaching the %m handler in vsnprintf. (cherry picked from commit da27118157c2942d7652138b8d8b0056fc8f872f)
Diffstat (limited to 'src/stdio/putc_unlocked.c')
0 files changed, 0 insertions, 0 deletions