summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-03-01 10:20:01 +0000
committerLubomir Rintel <lkundrak@v3.sk>2017-03-24 12:42:09 +0100
commited552c732c76c6f0f222a71400d601a0c967be83 (patch)
tree765a627c46f2764bb3a5c26d3316722fb239f349 /src/systemd
parent03a3fd901486aa40b41f2aa066ce1ea832f0f965 (diff)
downloadNetworkManager-ed552c732c76c6f0f222a71400d601a0c967be83.tar.gz
logging: log device and connection along with the message
Diffstat (limited to 'src/systemd')
-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 cf27c1af1e..a8ff18bc95 100644
--- a/src/systemd/sd-adapt/nm-sd-adapt.h
+++ b/src/systemd/sd-adapt/nm-sd-adapt.h
@@ -56,7 +56,7 @@ _slog_level_to_nm (int slevel)
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, ("%s"format), "libsystemd: ", ## __VA_ARGS__); \
+ _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_e > 0 ? -_nm_e : _nm_e); \
})