X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=8b68667bf453c481df6950ec727be3b134037f99;hp=95a07d29a0876c1ba1f737c29e36be63bc0074f1;hb=f76ab46a9216133332cb7e17d38d392caeca22cb;hpb=24758c5f17064273786e704b84ceff56c234e347 diff --git a/sched.c b/sched.c index 95a07d29..8b68667b 100644 --- a/sched.c +++ b/sched.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2013 Andre Noll + * Copyright (C) 2006-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -62,13 +62,13 @@ static void sched_preselect(struct sched *s) static inline void call_post_select(struct sched *s, struct task *t) { #ifndef SCHED_DEBUG - t->post_select(s, t); + t->error = t->post_select(s, t); #else struct timeval t1, t2, diff; unsigned long pst; clock_get_realtime(&t1); - t->post_select(s, t); + t->error = t->post_select(s, t); clock_get_realtime(&t2); tv_diff(&t1, &t2, &diff); pst = tv2ms(&diff);