X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=oss_write.c;h=eae4167a18503b2cc8014a5069b53ce8c8eb9677;hp=f075ce502900e03e3fb743229e9f6ca7c735725e;hb=49ae9b0afbaa8b1ac05c7956f325c4f7a710b59a;hpb=f0e41e36c3f1a3a5bb6ff66d92d2814391d8f908 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