Skip to content

Commit 02664db

Browse files
nordic-krchcarlescufi
authored andcommitted
logging: Use cbprintf flags for log_printk
Use cbprintf flags also when creating log message for printk entry. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
1 parent dc9c5fc commit 02664db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

subsys/logging/log_core.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ void z_log_vprintk(const char *fmt, va_list ap)
183183
}
184184

185185
z_log_msg_runtime_vcreate(CONFIG_LOG_DOMAIN_ID, NULL,
186-
LOG_LEVEL_INTERNAL_RAW_STRING, NULL, 0, 0,
186+
LOG_LEVEL_INTERNAL_RAW_STRING, NULL, 0,
187+
Z_LOG_MSG2_CBPRINTF_FLAGS(0),
187188
fmt, ap);
188189
}
189190

0 commit comments

Comments
 (0)