summaryrefslogtreecommitdiff
path: root/src/nm-logging.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-01 13:38:25 +0200
committerThomas Haller <thaller@redhat.com>2015-08-04 11:21:48 +0200
commitd3b91eb258ff7b95e7f7604d565268fa76cdb12c (patch)
treea9c9670713d8609f0c5193bce1933f283378c2cc /src/nm-logging.h
parent7c38b784632ecc490f7440a286dc81b452dc6213 (diff)
downloadNetworkManager-d3b91eb258ff7b95e7f7604d565268fa76cdb12c.tar.gz
logging/trivial: rename LOGL_MAX to _LOGL_N
The name LOGL_MAX was misleading, because it is not the "maximum" logging level, but the number of different levels. Rename it.
Diffstat (limited to 'src/nm-logging.h')
-rw-r--r--src/nm-logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-logging.h b/src/nm-logging.h
index 6af672844d..9fbe62721d 100644
--- a/src/nm-logging.h
+++ b/src/nm-logging.h
@@ -90,7 +90,7 @@ typedef enum { /*< skip >*/
LOGL_WARN,
LOGL_ERR,
- LOGL_MAX
+ _LOGL_N, /* the number of logging levels */
} NMLogLevel;
#define nm_log_err(domain, ...) nm_log (LOGL_ERR, (domain), __VA_ARGS__)