diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-20 11:09:08 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-21 01:50:33 +0900 |
commit | 5bb1d7fbab469b350d132cbbd2c794ffacef1b81 (patch) | |
tree | a48b1d5b73e72593b922c67c3946c80121841db0 /src/shared/loop-util.c | |
parent | 19ee48a6c29a03f6475689667b5c625a41589e72 (diff) | |
download | systemd-5bb1d7fbab469b350d132cbbd2c794ffacef1b81.tar.gz |
tree-wide: use -EBADF more
Diffstat (limited to 'src/shared/loop-util.c')
-rw-r--r-- | src/shared/loop-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/loop-util.c b/src/shared/loop-util.c index eb1a5bb59f..3224286186 100644 --- a/src/shared/loop-util.c +++ b/src/shared/loop-util.c @@ -683,7 +683,7 @@ int loop_device_make_by_path_memory( } static LoopDevice* loop_device_free(LoopDevice *d) { - _cleanup_close_ int control = -1; + _cleanup_close_ int control = -EBADF; int r; if (!d) |