diff options
Diffstat (limited to 'src/activate')
-rw-r--r-- | src/activate/activate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c index 5934e7a57a..16463a9b93 100644 --- a/src/activate/activate.c +++ b/src/activate/activate.c @@ -233,7 +233,7 @@ static int fork_and_exec_process(const char *child, char **argv, int fd) { static int do_accept(const char *name, char **argv, int fd) { _cleanup_free_ char *local = NULL, *peer = NULL; - _cleanup_close_ int fd_accepted = -1; + _cleanup_close_ int fd_accepted = -EBADF; fd_accepted = accept4(fd, NULL, NULL, 0); if (fd_accepted < 0) { @@ -434,7 +434,7 @@ static int parse_argv(int argc, char *argv[]) { int main(int argc, char **argv) { int r, n; - int epoll_fd = -1; + int epoll_fd = -EBADF; log_show_color(true); log_parse_environment(); |