--- libaitsched/src/hooks.c 2014/06/03 20:39:54 1.27.2.6 +++ libaitsched/src/hooks.c 2014/06/03 20:42:48 1.27.2.7 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.c,v 1.27.2.6 2014/06/03 20:39:54 misho Exp $ +* $Id: hooks.c,v 1.27.2.7 2014/06/03 20:42:48 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -1233,7 +1233,7 @@ sched_hook_fetch(void *root, void *arg __unused) sched_task_t *task, *tmp; struct timespec now, m, mtmp; #if SUP_ENABLE == KQ_SUPPORT - struct kevent evt[1], res[KQ_EVENTS]; + struct kevent res[KQ_EVENTS]; struct timespec *timeout; #elif SUP_ENABLE == EP_SUPPORT struct epoll_event res[KQ_EVENTS];