summaryrefslogtreecommitdiff
path: root/dbus/dbus-sysdeps-util-unix.c
diff options
context:
space:
mode:
authorDagobert Michelsen <dam@opencsw.org>2013-04-03 12:38:38 +0200
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-04-03 12:10:35 +0100
commitee49d0672a04c68850c7d48988d0373caa3077ab (patch)
tree44345cceb7b17eacbbf26ee261ca1e0e78befc79 /dbus/dbus-sysdeps-util-unix.c
parent751f6783c4e185b05765e7217c782dcb6f0df3e9 (diff)
downloaddbus-ee49d0672a04c68850c7d48988d0373caa3077ab.tar.gz
HAVE_DECL_LOG_PERROR is 0 when unavailable
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39987 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'dbus/dbus-sysdeps-util-unix.c')
-rw-r--r--dbus/dbus-sysdeps-util-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c
index 81098caf..99888f01 100644
--- a/dbus/dbus-sysdeps-util-unix.c
+++ b/dbus/dbus-sysdeps-util-unix.c
@@ -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