* silence compiler warning
This commit was SVN r11194.
Этот коммит содержится в:
родитель
cdffc3158d
Коммит
7d8d5d0c75
@ -139,7 +139,7 @@ kq_init(void)
|
|||||||
*/
|
*/
|
||||||
if (kevent(kq,
|
if (kevent(kq,
|
||||||
kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 ||
|
kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 ||
|
||||||
kqueueop->events[0].ident != -1 ||
|
kqueueop->events[0].ident != (unsigned int) -1 ||
|
||||||
kqueueop->events[0].flags != EV_ERROR) {
|
kqueueop->events[0].flags != EV_ERROR) {
|
||||||
event_warn("%s: detected broken kqueue; not using.", __func__);
|
event_warn("%s: detected broken kqueue; not using.", __func__);
|
||||||
free(kqueueop->changes);
|
free(kqueueop->changes);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user