improve incompatibility warnings
authorLennart Poettering <lennart@poettering.net>
Sat, 15 Oct 2005 02:20:48 +0000 (02:20 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Oct 2005 02:20:48 +0000 (02:20 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@764 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-compat-libdns_sd/warn.c

index 4cd20e6..1bdafd0 100644 (file)
@@ -95,7 +95,7 @@ void avahi_warn_linkage(void) {
 
         get_exe_name(exename, sizeof(exename));
 
-        warning(exename, "*** WARNING: The application '%s' uses the "COMPAT_LAYER" compatiblity layer of Avahi. Please fix it to use the native API! ***\n", exename);
+        warning(exename, "*** WARNING: The application '%s' uses the "COMPAT_LAYER" compatiblity layer of Avahi. Please fix your application to use the native API of Avahi! ***\n", exename);
     }
 }
 
@@ -103,7 +103,7 @@ void avahi_warn_unsupported(const char *function) {
     char exename[256];
     get_exe_name(exename, sizeof(exename));
 
-    warning(exename, "*** WARNING: The application '%s' called '%s()' which is not supported (or only supported partially) in the "COMPAT_LAYER" compatiblity layer of Avahi. Please fix it to use the native API! ***\n", exename, function);
+    warning(exename, "*** WARNING: The application '%s' called '%s()' which is not supported (or only supported partially) in the "COMPAT_LAYER" compatiblity layer of Avahi. Please fix your application to use the native API of Avahi! ***\n", exename, function);
 }