diff options
author | Thomas Haller <thaller@redhat.com> | 2015-04-21 18:27:13 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-04-22 11:27:41 +0200 |
commit | cbef53b16c704158bd6f168a8304832608183f9c (patch) | |
tree | 0e5176b43406e2adce334bf63f6629f516519c9a | |
parent | b78e31c3d1e93f487c45f161d84379e0d5f07cc2 (diff) | |
download | NetworkManager-cbef53b16c704158bd6f168a8304832608183f9c.tar.gz |
platform: use new _LOG() logging macros in nm-linux-platform.c
-rw-r--r-- | src/platform/nm-linux-platform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index 9fe0c39203..248f383956 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__) /******************************************************************/ |