summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2017-12-16 09:36:36 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-12-16 09:36:36 +0100
commit6671e818e93ee1b3caf071d3aff284fb8fa85f00 (patch)
treef77a32345ca6645706263addf35d9bd9a2534e3b /src
parent8769525f5724a184d70be8f578871753529bd04b (diff)
downloadsystemd-6671e818e93ee1b3caf071d3aff284fb8fa85f00.tar.gz
systemd-6671e818e93ee1b3caf071d3aff284fb8fa85f00.tar.bz2
systemd-6671e818e93ee1b3caf071d3aff284fb8fa85f00.zip
meson: libudev_core and udevadm should have LOG_REALM=LOG_REALM_UDEV (#7666)
Otherwise, setting udev_log=debug in /etc/udev/udev.conf has no effects since systemd-udevd is built with LOG_REALM=LOG_REALM_UDEV. However using LOG_REALM_UDEV (for libudev_core) reveals another similar bug for udevadm which should also define LOG_REALM_UDEV.
Diffstat (limited to 'src')
-rw-r--r--src/udev/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/meson.build b/src/udev/meson.build
index d01cf8f194..3b2c7b5e12 100644
--- a/src/udev/meson.build
+++ b/src/udev/meson.build
@@ -130,6 +130,7 @@ libudev_core = static_library(
link_config_gperf_c,
keyboard_keys_from_name_h,
include_directories : libudev_core_includes,
+ c_args : ['-DLOG_REALM=LOG_REALM_UDEV'],
link_with : udev_link_with,
dependencies : [libblkid, libkmod])