From: Andre Noll Date: Sun, 17 Jan 2010 20:32:11 +0000 (+0100) Subject: Merge remote branch 'athcx/maint' into maint X-Git-Tag: v0.4.2~63^2~1 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=4e84e9b35b8e45314d779ff6353e826ebda31483;hp=4ea3743c93e581954e9b1cf8ec7a10c38b35cfee Merge remote branch 'athcx/maint' into maint --- diff --git a/stdin.c b/stdin.c index c683b560..14201a9a 100644 --- a/stdin.c +++ b/stdin.c @@ -71,7 +71,7 @@ static void stdin_post_select(struct sched *s, struct task *t) return; ret = read(STDIN_FILENO, sit->buf + sit->loaded, sit->bufsize - sit->loaded); if (ret < 0) - t->error = ERRNO_TO_PARA_ERROR(errno); + t->error = -ERRNO_TO_PARA_ERROR(errno); else if (ret > 0) sit->loaded += ret; else