logging: log_core: add extra space in missed strdup err msg

It improves readability in an error message:

before: <err> log: argument 0 in source storage log message "val %s"
missinglog_strdup().

after: <err> log: argument 0 in source storage log message "val %s"
missing log_strdup().

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
This commit is contained in:
Bartosz Bilas 2021-09-09 17:28:13 +02:00 committed by Christopher Friedt
commit 0a9e930fdc

View file

@ -182,7 +182,7 @@ static bool is_rodata(const void *addr)
*/
static void detect_missed_strdup(struct log_msg *msg)
{
#define ERR_MSG "argument %d in source %s log message \"%s\" missing" \
#define ERR_MSG "argument %d in source %s log message \"%s\" missing " \
"log_strdup()."
uint32_t idx;
const char *str;