summaryrefslogtreecommitdiff
path: root/src/initctl
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2020-01-10 00:29:11 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-01-10 10:06:09 +0100
commit0e05be8405132fb392bc0bd01ea520e58d447467 (patch)
treee239b0224a386772869d2615642542ed504dfa6b /src/initctl
parente127d90210a78c58fe84458aff1db7f7d589c136 (diff)
downloadsystemd-0e05be8405132fb392bc0bd01ea520e58d447467.tar.gz
initctl: (void)ify epoll_ctl()
CID 996298
Diffstat (limited to 'src/initctl')
-rw-r--r--src/initctl/initctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c
index 96ea942b52..150d0fb199 100644
--- a/src/initctl/initctl.c
+++ b/src/initctl/initctl.c
@@ -221,7 +221,7 @@ static void fifo_free(Fifo *f) {
if (f->fd >= 0) {
if (f->server)
- epoll_ctl(f->server->epoll_fd, EPOLL_CTL_DEL, f->fd, NULL);
+ (void) epoll_ctl(f->server->epoll_fd, EPOLL_CTL_DEL, f->fd, NULL);
safe_close(f->fd);
}