mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 01:48:00 +02:00
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>
This commit is contained in:
parent
751f6783c4
commit
ee49d0672a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue