summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-06-08 13:46:18 +0200
committerThomas Haller <thaller@redhat.com>2017-06-08 13:46:18 +0200
commit80cd8f8c8cb061e19d27487b3db62ef6ecfcae72 (patch)
tree80af319b8a2bb4a70961edc25236b7100de4601c
parent26cbad7828bf4cdf9a70b28103610cd0973624f0 (diff)
downloadNetworkManager-th/assume-master-rh1452062-3.tar.gz
fixup! manager: add logging macro _NMLOG2() for logging device messagesth/assume-master-rh1452062-3
-rw-r--r--src/devices/nm-device-logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-logging.h b/src/devices/nm-device-logging.h
index 5f95a91390..f0c7e59134 100644
--- a/src/devices/nm-device-logging.h
+++ b/src/devices/nm-device-logging.h
@@ -40,7 +40,7 @@ _nm_device_log_self_to_device (t *self) \
\
if (nm_logging_enabled (_level, _domain)) { \
typeof (*self) *const _self = (self); \
- const char *const _ifname = _self ? nm_device_get_iface (_nm_device_log_self_to_device (_self)) : NULL; \
+ const char *const _ifname = _nm_device_get_iface (_nm_device_log_self_to_device (_self)); \
\
nm_log_obj (_level, _domain, \
_ifname, NULL, \