logging: disable Linux-style timestamp formatting by default
Fix a typo in #43934. Signed-off-by: Rihards Skuja <rhssk@posteo.eu>
This commit is contained in:
parent
827890c075
commit
d5b83a8c90
1 changed files with 4 additions and 4 deletions
|
@ -287,13 +287,13 @@ static int timestamp_print(const struct log_output *output,
|
|||
#endif
|
||||
} else {
|
||||
if (IS_ENABLED(CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP)) {
|
||||
length = print_formatted(output,
|
||||
"[%02u:%02u:%02u.%03u,%03u] ",
|
||||
hours, mins, seconds, ms, us);
|
||||
} else {
|
||||
length = print_formatted(output,
|
||||
"[%5ld.%06d] ",
|
||||
total_seconds, ms * 1000U + us);
|
||||
} else {
|
||||
length = print_formatted(output,
|
||||
"[%02u:%02u:%02u.%03u,%03u] ",
|
||||
hours, mins, seconds, ms, us);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue