From a3d15d2d5a006f5d43a31cbe5c09dc4b01560116 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 28 Dec 2018 15:42:23 +0100 Subject: [PATCH] systemd: fix nm-logging domain for systemd logging Fixes: c75c51d50545a56888aa6c35244fcee5510c5697 --- src/systemd/sd-adapt/nm-sd-adapt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemd/sd-adapt/nm-sd-adapt.h b/src/systemd/sd-adapt/nm-sd-adapt.h index e163eedab6..72dcb45888 100644 --- a/src/systemd/sd-adapt/nm-sd-adapt.h +++ b/src/systemd/sd-adapt/nm-sd-adapt.h @@ -76,7 +76,7 @@ _nm_log_get_max_level_realm (void) if (nm_logging_enabled (_nm_l, LOGD_SYSTEMD)) { \ const char *_nm_location = strrchr ((""file), '/'); \ \ - _nm_log_impl (_nm_location ? _nm_location + 1 : (""file), (line), (func), _nm_l, LOGD_DHCP, _nm_e, NULL, NULL, ("%s"format), "libsystemd: ", ## __VA_ARGS__); \ + _nm_log_impl (_nm_location ? _nm_location + 1 : (""file), (line), (func), _nm_l, LOGD_SYSTEMD, _nm_e, NULL, NULL, ("%s"format), "libsystemd: ", ## __VA_ARGS__); \ } \ (_nm_e > 0 ? -_nm_e : _nm_e); \ })