summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-12-28 15:42:23 +0100
committerThomas Haller <thaller@redhat.com>2018-12-30 11:20:12 +0100
commita3d15d2d5a006f5d43a31cbe5c09dc4b01560116 (patch)
tree5afe2cbb93919913748adbdefc708dc5dede4b16
parent7e97fe76e71c4b334df269107d6f7b9707fa3b48 (diff)
downloadNetworkManager-a3d15d2d5a006f5d43a31cbe5c09dc4b01560116.tar.gz
systemd: fix nm-logging domain for systemd logging
Fixes: c75c51d50545a56888aa6c35244fcee5510c5697
-rw-r--r--src/systemd/sd-adapt/nm-sd-adapt.h2
1 files changed, 1 insertions, 1 deletions
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); \
})