]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/setproctitle.c
core: don't leak hinfo/workstation even if the configuration file doesn't exist
[catta] / avahi-daemon / setproctitle.c
index b9afc0f6cd365413d2919fbb0fad244b353a74a4..e6f0941641749119761fe831b09b09767cc8a796 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /***
   This file is part of avahi.
 
@@ -87,7 +85,7 @@ void avahi_set_proc_title(const char *name, const char *fmt,...) {
     va_end(ap);
 
     setproctitle("-%s", t);
-#elif __linux__
+#elif defined(__linux__)
     size_t l;
     va_list ap;