]> git.ipfire.org Git - thirdparty/systemd.git/commit
creds: minor tweak for fputc() error handling 41329/head
authorMike Yuan <me@yhndnzj.com>
Wed, 25 Mar 2026 15:03:07 +0000 (16:03 +0100)
committerMike Yuan <me@yhndnzj.com>
Thu, 26 Mar 2026 15:01:35 +0000 (16:01 +0100)
commit734af2908a803c17ad587da7db334fc225f18dde
tree02849c21e46dcd1ba30d3ea5f19a5293a3f2ab15
parent64d1c102ad3af9ce5f640b2fbffb8113697fd0e3
creds: minor tweak for fputc() error handling

Let's do not assume errno is set for return values other than
EOF, following what we do in fileio.c.
src/creds/creds.c