X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stdout.c;h=a2ee2aca6af8114eadf92539092bcca9bb7d0e09;hp=1caa0e77023ff97d728fbe1445da8e3eb4bd5fdb;hb=fb5d56ca5ec72163e2ef0665a857a9020679be0a;hpb=f42b5eccb6ec3364dc0500ffeffbe9d9ecab07bd diff --git a/stdout.c b/stdout.c index 1caa0e77..a2ee2aca 100644 --- a/stdout.c +++ b/stdout.c @@ -1,12 +1,11 @@ /* - * Copyright (C) 2006-2009 Andre Noll + * Copyright (C) 2006-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file stdout.c Functions that deal with writing to stdout. */ -#include /* readdir() */ #include #include @@ -70,7 +69,7 @@ static void stdout_post_select(struct sched *s, struct task *t) sz = btr_next_buffer(btrn, &buf); if (sz == 0) break; - ret = write_nonblock(STDOUT_FILENO, buf, sz, 0); + ret = write_nonblock(STDOUT_FILENO, buf, sz); if (ret <= 0) break; btr_consume(btrn, ret);