]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/errno-util: add helper to protect and set errno in one step
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 Oct 2022 12:41:50 +0000 (14:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Oct 2022 07:12:21 +0000 (09:12 +0200)
commit50c5b991df302e7d143e8a859dd9d95c419d60fc
tree5c2d35e43dcbf1f831d52dba33d30c6c2eef1317
parent6b7834fe5de3de690e6efb9467c61691c4b2f30f
basic/errno-util: add helper to protect and set errno in one step

This pattern is used in a few places. Those are changed in this patch.
Subsequent patches will add more.
src/basic/errno-util.h
src/basic/log.c