projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15e990d
)
Check HAVE_DECL_LOG_PERROR with #if, not #ifdef
author
Jonathan Perkin
<jonathan perkin org uk>
Thu, 9 Aug 2012 11:25:02 +0000
(12:25 +0100)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Thu, 9 Aug 2012 11:25:02 +0000
(12:25 +0100)
It's always defined.
[smcv: commit message added]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=53286
dbus/dbus-sysdeps-util-unix.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-sysdeps-util-unix.c
b/dbus/dbus-sysdeps-util-unix.c
index
caa38d0
..
76423ab
100644
(file)
--- a/
dbus/dbus-sysdeps-util-unix.c
+++ b/
dbus/dbus-sysdeps-util-unix.c
@@
-424,7
+424,7
@@
_dbus_request_file_descriptor_limit (unsigned int limit)
void
_dbus_init_system_log (void)
{
-#if
def
HAVE_DECL_LOG_PERROR
+#if HAVE_DECL_LOG_PERROR
openlog ("dbus", LOG_PID | LOG_PERROR, LOG_DAEMON);
#else
openlog ("dbus", LOG_PID, LOG_DAEMON);