HAVE_DECL_LOG_PERROR is 0 when unavailable
authorDagobert Michelsen <dam@opencsw.org>
Wed, 3 Apr 2013 10:38:38 +0000 (12:38 +0200)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 3 Apr 2013 11:10:35 +0000 (12:10 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39987
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-sysdeps-util-unix.c

index 81098ca..99888f0 100644 (file)
@@ -433,7 +433,7 @@ _dbus_init_system_log (void)
 #ifdef HAVE_SYSLOG_H
   int logopts = LOG_PID;
 
-#ifdef HAVE_DECL_LOG_PERROR
+#if HAVE_DECL_LOG_PERROR
 #ifdef HAVE_SYSTEMD
   if (sd_booted () <= 0)
 #endif