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.
This commit is contained in:
@@ -55,7 +55,7 @@ static int locale_context_load_proc(LocaleContext *c, LocaleLoadFlag flag) {
|
||||
}
|
||||
|
||||
static int locale_context_load_conf(LocaleContext *c, LocaleLoadFlag flag) {
|
||||
_cleanup_close_ int fd = -EBADFD;
|
||||
_cleanup_close_ int fd = -EBADF;
|
||||
struct stat st;
|
||||
int r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user