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/run/run.c | |
parent | 19ee48a6c29a03f6475689667b5c625a41589e72 (diff) | |
download | systemd-5bb1d7fbab469b350d132cbbd2c794ffacef1b81.tar.gz |
tree-wide: use -EBADF more
Diffstat (limited to 'src/run/run.c')
-rw-r--r-- | src/run/run.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/run.c b/src/run/run.c index 5f7d651b90..471d15924a 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1107,7 +1107,7 @@ static int start_transient_service( _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; _cleanup_(bus_wait_for_jobs_freep) BusWaitForJobs *w = NULL; _cleanup_free_ char *service = NULL, *pty_path = NULL; - _cleanup_close_ int master = -1; + _cleanup_close_ int master = -EBADF; int r; assert(bus); |