X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=interactive.c;h=f281901248e3aebe878553220dda938d1c3fbece;hp=44db6c58fda6b4080c0874725c7a9bd4b9f6fbe4;hb=58864df1c0784c58e421949b67a091fd0a60e140;hpb=83ab4b5d38bb63cf4724022c3804d3eaa2ac51d3 diff --git a/interactive.c b/interactive.c index 44db6c58..f2819012 100644 --- a/interactive.c +++ b/interactive.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2012 Andre Noll + * Copyright (C) 2011-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -307,7 +307,7 @@ static void i9e_line_handler(char *line) } } -static void i9e_post_select(__a_unused struct sched *s, struct task *t) +static int i9e_post_select(__a_unused struct sched *s, __a_unused struct task *t) { int ret; struct i9e_client_info *ici = i9ep->ici; @@ -361,7 +361,7 @@ rm_btrn: wipe_bottom_line(); out: i9ep->caught_sigint = false; - t->error = ret; + return ret; } static void i9e_pre_select(struct sched *s, __a_unused struct task *t)