summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-04-21 18:27:13 +0200
committerThomas Haller <thaller@redhat.com>2015-04-22 16:51:11 +0200
commit0c03db4e8e9f717edb3d1d2be45ba71ca277024b (patch)
tree6f29e2f7203f0d0cf02f770ae131807fbc8ccc97
parent7db9306aa3a6e4a9ed028bae326246a83be0fd0b (diff)
downloadNetworkManager-0c03db4e8e9f717edb3d1d2be45ba71ca277024b.tar.gz
platform: use new _LOG() logging macros in nm-linux-platform.c
-rw-r--r--src/platform/nm-linux-platform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c
index 089e15a0f0..19db6bd71d 100644
--- a/src/platform/nm-linux-platform.c
+++ b/src/platform/nm-linux-platform.c
@@ -107,9 +107,9 @@
#define _LOGW(...) _LOG (LOGL_WARN , _LOG_DOMAIN, platform, __VA_ARGS__)
#define _LOGE(...) _LOG (LOGL_ERR , _LOG_DOMAIN, platform, __VA_ARGS__)
-#define debug(...) nm_log_dbg (LOGD_PLATFORM, __VA_ARGS__)
-#define warning(...) nm_log_warn (LOGD_PLATFORM, __VA_ARGS__)
-#define error(...) nm_log_err (LOGD_PLATFORM, __VA_ARGS__)
+#define debug(...) _LOG (LOGL_DEBUG, _LOG_DOMAIN, NULL, __VA_ARGS__)
+#define warning(...) _LOG (LOGL_WARN , _LOG_DOMAIN, NULL, __VA_ARGS__)
+#define error(...) _LOG (LOGL_ERR , _LOG_DOMAIN, NULL, __VA_ARGS__)
/******************************************************************/