--- libaitsched/src/hooks.c 2013/08/15 18:39:00 1.18.4.4 +++ libaitsched/src/hooks.c 2013/08/15 18:43:44 1.18.4.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.c,v 1.18.4.4 2013/08/15 18:39:00 misho Exp $ +* $Id: hooks.c,v 1.18.4.5 2013/08/15 18:43:44 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -1170,7 +1170,7 @@ sched_hook_rtc(void *task, void *arg __unused) its.it_value.tv_sec = t->task_val.ts.tv_sec; its.it_value.tv_nsec = t->task_val.ts.tv_nsec; - if (timer_settime(tmr, TIMER_ABSTIME, &its, NULL) == -1) { + if (timer_settime(tmr, TIMER_RELTIME, &its, NULL) == -1) { if (TASK_ROOT(t)->root_hooks.hook_exec.exception) TASK_ROOT(t)->root_hooks.hook_exec.exception(TASK_ROOT(t), NULL); else