summaryrefslogtreecommitdiffstats
path: root/common/version.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-09-30 08:29:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-30 10:44:16 +0200
commit6ae9a40c799dd341db985c95cc906ae2e0aacf97 (patch)
treeb332521e84db71d912bd6b9d3bf9d803fbbb4805 /common/version.c
parent8af0569b7bfbc1162f4de7a77a77432de2286055 (diff)
downloadbarebox-6ae9a40c799dd341db985c95cc906ae2e0aacf97.tar.gz
startup: Don't print multiple lines with pr_info
Print the banner with pr_info, but the empty lines before and after it with printf. This makes the banner show up in the log show up properly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/version.c')
-rw-r--r--common/version.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/version.c b/common/version.c
index 51d4d48..f37cb55 100644
--- a/common/version.c
+++ b/common/version.c
@@ -12,6 +12,8 @@ EXPORT_SYMBOL(release_string);
void barebox_banner (void)
{
- pr_info("\n\n%s\n\n", version_string);
+ printf("\n\n");
+ pr_info("%s", version_string);
+ printf("\n\n");
pr_info("Board: %s\n", barebox_get_model());
}