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/run | |
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/run')
-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); |