summaryrefslogtreecommitdiffstats
path: root/src/run
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-12-20 03:09:08 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-20 17:50:33 +0100
commit5bb1d7fbab469b350d132cbbd2c794ffacef1b81 (patch)
treea48b1d5b73e72593b922c67c3946c80121841db0 /src/run
parenttree-wide: introduce PIPE_EBADF macro (diff)
downloadsystemd-5bb1d7fbab469b350d132cbbd2c794ffacef1b81.tar.xz
systemd-5bb1d7fbab469b350d132cbbd2c794ffacef1b81.zip
tree-wide: use -EBADF more
Diffstat (limited to 'src/run')
-rw-r--r--src/run/run.c2
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);