]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: change initialization to use EBADF instead of EBADFD
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Dec 2022 12:11:05 +0000 (13:11 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Dec 2022 14:00:59 +0000 (15:00 +0100)
commita5937dcf3902ecb90777f259f6e006292eb54251
treef4a618eace7159c7ef97084622e28186a1cd4781
parent254d1313ae5a69c08c9b93032aaaf3d6083cfc07
tree-wide: change initialization to use EBADF instead of EBADFD

Those fds never were, so it's not fair to say that they are in "bad state".
Let's use the shorter and more direct errno.
src/basic/env-file.c
src/basic/stat-util.c
src/locale/localed-util.c
src/shared/locale-setup.c