--- libaitsched/src/hooks.c 2012/01/24 15:29:09 1.3.4.4 +++ libaitsched/src/hooks.c 2012/01/24 16:19:32 1.3.4.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.c,v 1.3.4.4 2012/01/24 15:29:09 misho Exp $ +* $Id: hooks.c,v 1.3.4.5 2012/01/24 16:19:32 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -329,7 +329,7 @@ retry: if (r->root_wait.tv_sec != -1 && r->root_wait.tv_nsec != -1) timeout = &r->root_wait; - else if (sched_timespecinf(&r->root_poll)) + else if (sched_timespecisinf(&r->root_poll)) timeout = NULL; else timeout = &r->root_poll;