]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - oss_write.c
write: Remove ->shutdown.
[paraslash.git] / oss_write.c
index f075ce502900e03e3fb743229e9f6ca7c735725e..eae4167a18503b2cc8014a5069b53ce8c8eb9677 100644 (file)
@@ -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