[php-src] master: Adjust zlog warning and error message in kqueue (#14053)

From: Date: Sun, 28 Apr 2024 12:18:13 +0000
Subject: [php-src] master: Adjust zlog warning and error message in kqueue (#14053)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-128244@lists.php.net to get a copy of this message
Author: Pascal Christen (pesc) Committer: GitHub (web-flow) Pusher: bukka Date: 2024-04-28T13:18:06+01:00 Commit: https://github.com/php/php-src/commit/57cd23d6d061acc6762079543a6e378d38a24485 Raw diff: https://github.com/php/php-src/commit/57cd23d6d061acc6762079543a6e378d38a24485.diff Adjust zlog warning and error message in kqueue (#14053) Changed paths: M sapi/fpm/fpm/events/kqueue.c Diff: diff --git a/sapi/fpm/fpm/events/kqueue.c b/sapi/fpm/fpm/events/kqueue.c index 1204a75ae1a39..09f5da12799be 100644 --- a/sapi/fpm/fpm/events/kqueue.c +++ b/sapi/fpm/fpm/events/kqueue.c @@ -81,7 +81,7 @@ static int fpm_event_kqueue_init(int max) /* {{{ */ kevents = calloc(max, sizeof(struct kevent)); if (!kevents) { - zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max); + zlog(ZLOG_ERROR, "kevent: unable to allocate %d events", max); return -1; } @@ -128,7 +128,7 @@ static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long /* trigger error unless signal interrupt */ if (errno != EINTR) { - zlog(ZLOG_WARNING, "epoll_wait() returns %d", errno); + zlog(ZLOG_WARNING, "kevent() returns %d", errno); return -1; } }

« previous php.cvs (#128244) next »