fix broken log_ereport call

Sat, 18 Mar 2023 11:05:40 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 18 Mar 2023 11:05:40 +0100
changeset 474
eb7640c59e9b
parent 473
102322b6f4ee
child 475
d01ea909d906

fix broken log_ereport call

src/server/daemon/event_linux.c file | annotate | diff | comparison | revisions
--- a/src/server/daemon/event_linux.c	Thu Mar 16 19:59:11 2023 +0100
+++ b/src/server/daemon/event_linux.c	Sat Mar 18 11:05:40 2023 +0100
@@ -69,7 +69,7 @@
         epev.events = EPOLLIN | EPOLLET; // input event, edge triggered
         epev.data.ptr = NULL;
         if(epoll_ctl(handler->ep, EPOLL_CTL_ADD, handler->eventin, &epev)) {
-            log_ereport("evhandler_create: epoll_ctl: %s", strerror(errno));
+            log_ereport(LOG_FAILURE, "evhandler_create: epoll_ctl: %s", strerror(errno));
             return NULL;
         }
         

mercurial