Replace using the ternary operator with pa_available_to_string to print
value of a pa_available_t.
/* pa_assert(status != PA_AVAILABLE_UNKNOWN); */
p->available = status;
- pa_log_debug("Setting port %s to status %s", p->name, status == PA_AVAILABLE_YES ? "yes" :
- status == PA_AVAILABLE_NO ? "no" : "unknown");
+ pa_log_debug("Setting port %s to status %s", p->name, pa_available_to_string(status));
/* Post subscriptions to the card which owns us */
/* XXX: We need to check p->card, because this function may be called