summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-01 14:37:34 +0200
committerThomas Haller <thaller@redhat.com>2015-08-04 11:21:57 +0200
commit8a4ad96ec158eba038801a2bd8267d2bcf188dac (patch)
treefb390563f1c8d2a603eddece2cb551b686532043
parent4e26ef55c652014a7cb63c2df12925d8ee839886 (diff)
downloadNetworkManager-8a4ad96ec158eba038801a2bd8267d2bcf188dac.tar.gz
logging: remove dummy logging domain "NONE"
"NONE" was wrongly part of @domain_descs and thus advertised via `NetworkManager --help`. But since its @num was set to LOGD_NONE (zero), it was already rejected by nm_logging_setup().
-rw-r--r--src/nm-logging.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nm-logging.c b/src/nm-logging.c
index dc3137eb5c..6ee09fbf3d 100644
--- a/src/nm-logging.c
+++ b/src/nm-logging.c
@@ -86,7 +86,6 @@ static const LogLevelDesc level_desc[_LOGL_N] = {
};
static const LogDesc domain_descs[] = {
- { LOGD_NONE, "NONE" },
{ LOGD_PLATFORM, "PLATFORM" },
{ LOGD_RFKILL, "RFKILL" },
{ LOGD_ETHER, "ETHER" },