X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=write.c;h=866ea43327b3d1389993e18b7277e29201a223da;hb=f8931d4607fdf8cb98761b9814d068256d2925a3;hp=3deef1474c840a48e88d4db6717b0d446a1e994b;hpb=c5e38315901ea63efd169af5d4ba3f3c66db7de9;p=paraslash.git diff --git a/write.c b/write.c index 3deef147..866ea433 100644 --- a/write.c +++ b/write.c @@ -86,10 +86,10 @@ static void write_pre_select(struct sched *s, struct task *t) check_wav_pre_select(s, wt->cwc); } -static void write_post_select(__a_unused struct sched *s, struct task *t) +static int write_post_select(__a_unused struct sched *s, struct task *t) { struct write_task *wt = container_of(t, struct write_task, task); - t->error = check_wav_post_select(wt->cwc); + return check_wav_post_select(wt->cwc); } static int setup_and_schedule(void)