--- libaitsched/src/hooks.c 2012/05/31 14:45:10 1.7.2.2 +++ libaitsched/src/hooks.c 2012/05/31 21:36:40 1.7.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.c,v 1.7.2.2 2012/05/31 14:45:10 misho Exp $ +* $Id: hooks.c,v 1.7.2.3 2012/05/31 21:36:40 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -164,7 +164,7 @@ sched_hook_cancel(void *task, void *arg __unused) #endif break; default: - return (void*) -1; + return NULL; } kevent(TASK_ROOT(t)->root_kq, chg, 1, NULL, 0, &timeout);