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/rfkill | |
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/rfkill')
-rw-r--r-- | src/rfkill/rfkill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill/rfkill.c b/src/rfkill/rfkill.c index 773b25d816..9631513628 100644 --- a/src/rfkill/rfkill.c +++ b/src/rfkill/rfkill.c @@ -267,7 +267,7 @@ static void context_save_and_clear(Context *c) { } static int run(int argc, char *argv[]) { - _cleanup_(context_save_and_clear) Context c = { .rfkill_fd = -1 }; + _cleanup_(context_save_and_clear) Context c = { .rfkill_fd = -EBADF }; bool ready = false; int r, n; |