summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2023-04-21 15:34:49 +0200
committerDavid Tardon <dtardon@redhat.com>2023-04-27 21:42:38 +0200
commit70bbf65942a35dc493b2efbe9f8112e394a45b82 (patch)
treef2fb695e7c9890542a44ab154a187ba4937ae200 /src
parent1cc3a1302fa3e27fae59ec63384e2f684a635dae (diff)
downloadsystemd-70bbf65942a35dc493b2efbe9f8112e394a45b82.tar.gz
initctl: add assert
Diffstat (limited to 'src')
-rw-r--r--src/initctl/initctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c
index 99f28721de..b7fd215acd 100644
--- a/src/initctl/initctl.c
+++ b/src/initctl/initctl.c
@@ -287,6 +287,7 @@ static int process_event(Server *s, struct epoll_event *ev) {
Fifo *f;
assert(s);
+ assert(ev);
if (!(ev->events & EPOLLIN))
return log_info_errno(SYNTHETIC_ERRNO(EIO),