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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user