X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=oss_write.c;h=1d9add7b9a296e5a8d9750c77fa1f28a77894453;hp=f1e901993120008eb67a221c438b1b3f5c3a3c10;hb=45af9a7f2b089e3a983d320ef1d4c0b600f1fc67;hpb=1745a87654ce08b57c46ce0870d8571eacbe27c9 diff --git a/oss_write.c b/oss_write.c index f1e90199..1d9add7b 100644 --- a/oss_write.c +++ b/oss_write.c @@ -199,7 +199,7 @@ static void oss_post_select(__a_unused struct sched *s, out: t->error = ret; if (ret < 0) - btr_remove_node(btrn); + btr_remove_node(&wn->btrn); } __malloc static void *oss_parse_config_or_die(const char *options) @@ -233,7 +233,6 @@ void oss_write_init(struct writer *w) w->post_select = oss_post_select; w->parse_config_or_die = oss_parse_config_or_die; w->free_config = oss_free_config; - w->shutdown = NULL; w->help = (struct ggo_help) { .short_help = oss_write_args_info_help, .detailed_help = oss_write_args_info_detailed_help