1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Adjust zlog warning and error message in kqueue (#14053)

This commit is contained in:
Pascal Christen
2024-04-28 14:18:06 +02:00
committed by GitHub
parent d5d227a43a
commit 57cd23d6d0

View File

@@ -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;
}
}