diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-20 03:09:08 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-20 17:50:33 +0100 |
commit | 5bb1d7fbab469b350d132cbbd2c794ffacef1b81 (patch) | |
tree | a48b1d5b73e72593b922c67c3946c80121841db0 /src/tty-ask-password-agent | |
parent | tree-wide: introduce PIPE_EBADF macro (diff) | |
download | systemd-5bb1d7fbab469b350d132cbbd2c794ffacef1b81.tar.xz systemd-5bb1d7fbab469b350d132cbbd2c794ffacef1b81.zip |
tree-wide: use -EBADF more
Diffstat (limited to 'src/tty-ask-password-agent')
-rw-r--r-- | src/tty-ask-password-agent/tty-ask-password-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index 9166e1f9ec..46d2307ad3 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -338,7 +338,7 @@ static int process_and_watch_password_files(bool watch) { }; _unused_ _cleanup_close_ int tty_block_fd = -EBADF; - _cleanup_close_ int notify = -1, signal_fd = -EBADF; + _cleanup_close_ int notify = -EBADF, signal_fd = -EBADF; struct pollfd pollfd[_FD_MAX]; sigset_t mask; int r; |