From e506d88f1e5966ac8c8c97e232b0a828dcc00dc9 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Tue, 12 Feb 2019 00:02:45 -0600 Subject: [PATCH] logging: Fix typo in logging comment The Kconfig symbol is CONFIG_LOG_DEFAULT_LEVEL not CONFIG_LOG_DEFAULT_LOG_LEVEL. Fix references in comments to the actual Kconfig symbol name. Signed-off-by: Kumar Gala --- include/logging/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/logging/log.h b/include/logging/log.h index 1ffd9ac4c3c..a3c09686142 100644 --- a/include/logging/log.h +++ b/include/logging/log.h @@ -346,7 +346,7 @@ char *log_strdup(const char *str); * * @note The module's state is defined, and the module is registered, * only if LOG_LEVEL for the current source file is non-zero or - * it is not defined and CONFIG_LOG_DEFAULT_LOG_LEVEL is non-zero. + * it is not defined and CONFIG_LOG_DEFAULT_LEVEL is non-zero. * In other cases, this macro has no effect. * @see LOG_MODULE_DECLARE */ @@ -383,7 +383,7 @@ char *log_strdup(const char *str); * * @note The module's state is declared only if LOG_LEVEL for the * current source file is non-zero or it is not defined and - * CONFIG_LOG_DEFAULT_LOG_LEVEL is non-zero. In other cases, + * CONFIG_LOG_DEFAULT_LEVEL is non-zero. In other cases, * this macro has no effect. * @see LOG_MODULE_REGISTER */