audiod: Add log message for receiver errors.
[paraslash.git] / audiod.c
index defd673..05a2cda 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -666,6 +666,7 @@ static int open_receiver(int format)
                EMBRACE(.name = name, .context = rn));
        ret = r->open(rn);
        if (ret < 0) {
+               PARA_ERROR_LOG("could not open %s receiver\n", name);
                btr_remove_node(&rn->btrn);
                free(rn);
                return ret;