net: openthread: Remove log_strdup warnings for OpenThread
Log messages from the OpenThread logging system were not log_strdup() Signed-off-by: Markus Becker <markus.becker@tridonic.com>
This commit is contained in:
parent
e27cf15763
commit
653a15d138
1 changed files with 4 additions and 4 deletions
|
@ -39,16 +39,16 @@ void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion,
|
|||
|
||||
switch (aLogLevel) {
|
||||
case OT_LOG_LEVEL_CRIT:
|
||||
LOG_ERR("%s", logString);
|
||||
LOG_ERR("%s", log_strdup(logString));
|
||||
break;
|
||||
case OT_LOG_LEVEL_WARN:
|
||||
LOG_WRN("%s", logString);
|
||||
LOG_WRN("%s", log_strdup(logString));
|
||||
break;
|
||||
case OT_LOG_LEVEL_INFO:
|
||||
LOG_INF("%s", logString);
|
||||
LOG_INF("%s", log_strdup(logString));
|
||||
break;
|
||||
case OT_LOG_LEVEL_DEBG:
|
||||
LOG_DBG("%s", logString);
|
||||
LOG_DBG("%s", log_strdup(logString));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue