X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=oss_write.c;h=eae4167a18503b2cc8014a5069b53ce8c8eb9677;hb=c4bfb18b78b3935b8dbf68f70b219cfb2a192979;hp=f075ce502900e03e3fb743229e9f6ca7c735725e;hpb=f0e41e36c3f1a3a5bb6ff66d92d2814391d8f908;p=paraslash.git diff --git a/oss_write.c b/oss_write.c index f075ce50..eae4167a 100644 --- a/oss_write.c +++ b/oss_write.c @@ -152,6 +152,8 @@ err: close(powd->fd); err_free: free(powd); + PARA_ERROR_LOG("failed to init %s: %s\n", conf->device_arg, + para_strerror(-ret)); return ret; } @@ -231,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