$OpenBSD: patch-avahi-compat-libdns_sd_warn_c,v 1.1 2009/06/03 19:42:55 ajacoutot Exp $ Reverse logic to stop polluting syslog(3). --- avahi-compat-libdns_sd/warn.c.orig Wed Jun 3 21:07:44 2009 +++ avahi-compat-libdns_sd/warn.c Wed Jun 3 21:08:33 2009 @@ -112,7 +112,7 @@ void avahi_warn_linkage(void) { linkage_warning = 1; pthread_mutex_unlock(&linkage_mutex); - if (!w && !getenv("AVAHI_COMPAT_NOWARN")) { + if (!w && getenv("AVAHI_COMPAT_WARN")) { avahi_warn("The program '%s' uses the "COMPAT_LAYER" compatibility layer of Avahi.", avahi_exe_name()); avahi_warn("Please fix your application to use the native API of Avahi!"); avahi_warn("For more information see ", avahi_exe_name());