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:
parent
351fd170bd
commit
0a9e930fdc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue