diff --git a/src/mdns_avahi.c b/src/mdns_avahi.c index 60f1dacd..5059e83e 100644 --- a/src/mdns_avahi.c +++ b/src/mdns_avahi.c @@ -1044,7 +1044,7 @@ mdns_init(void) client_callback, NULL, &error); if (!mdns_client) { - DPRINTF(E_WARN, L_MDNS, "mdns_init: Could not create Avahi client: %s\n", MDNSERR); + DPRINTF(E_WARN, L_MDNS, "mdns_init: Could not create Avahi client: %s\n", avahi_strerror(error)); return -1; }