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-01 15:26:42 +0200
commitec3fcb68bb63373d41d79926fc66bc71648fef1f (patch)
treefe9850731cce07fd66ca3064430e61ae5271f7e6
parentac78dd8df04cd80e97525279dbca5f23ba518219 (diff)
downloadNetworkManager-th/logging-off-bgo753128.tar.gz
logging: remove dummy logging domain "NONE"th/logging-off-bgo753128
"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 e227351327..7418db3abe 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" },