X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stdout.c;h=abe7abc98df759af034872be4d65ed9a30133207;hp=33770c46d36e0ea772a84abbdda9babb9f271fc3;hb=32ffc06c0706f51c3f1dc436911836f1f9aa326e;hpb=85094cd802bdb606d4e2bf7ed66dec51db2a0953 diff --git a/stdout.c b/stdout.c index 33770c46..abe7abc9 100644 --- a/stdout.c +++ b/stdout.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2011 Andre Noll + * Copyright (C) 2006-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -68,7 +68,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); + ret = xwrite(STDOUT_FILENO, buf, sz); if (ret <= 0) break; btr_consume(btrn, ret);