[PATCH 4/4] common: barebox_banner: fix missing newline
Marco Felsch
m.felsch at pengutronix.de
Wed Mar 13 12:56:06 PDT 2024
Albeit the banner is shown correctly due to following printf(), the
dmesg() output isn't. This cause the next log buffer print printed on
the same line as the "Buildsystem version:" print. Fix this by adding a
newline afterwards.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
common/version.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/version.c b/common/version.c
index 465e22c7f52e..0cac5ee609e6 100644
--- a/common/version.c
+++ b/common/version.c
@@ -22,7 +22,7 @@ void barebox_banner (void)
printf("\n\n");
pr_info("%s\n", version_string);
if (strlen(buildsystem_version_string) > 0)
- pr_info("Buildsystem version: %s", buildsystem_version_string);
+ pr_info("Buildsystem version: %s\n", buildsystem_version_string);
printf("\n\n");
pr_info("Board: %s\n", barebox_get_model());
}
--
2.39.2
More information about the barebox
mailing list