From: David Tardon Date: Fri, 21 Apr 2023 13:34:49 +0000 (+0200) Subject: initctl: add assert X-Git-Tag: v254-rc1~603^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70bbf65942a35dc493b2efbe9f8112e394a45b82;p=thirdparty%2Fsystemd.git initctl: add assert --- diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c index 99f28721de2..b7fd215acd9 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),