summaryrefslogtreecommitdiff
path: root/drivers/video/cfb_console.c
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2011-07-29 09:10:13 +0200
committerWolfgang Denk <wd@denx.de>2011-07-29 11:28:26 +0200
commitce0f709bcd52bbe5f432771ad3a18bd3d5a6747f (patch)
tree1affa34641fe48c44110b23c2839a7f23343cab1 /drivers/video/cfb_console.c
parent40e018815dcf6692eeddffaeba38751b4e8c6af7 (diff)
downloadu-boot-imx-ce0f709bcd52bbe5f432771ad3a18bd3d5a6747f.zip
u-boot-imx-ce0f709bcd52bbe5f432771ad3a18bd3d5a6747f.tar.gz
u-boot-imx-ce0f709bcd52bbe5f432771ad3a18bd3d5a6747f.tar.bz2
cfb_console: fix build breakage
Commit 09c2e90c110ef99f1203685acd1059114a51b167 "unify version_string" introduced a build breakage in cfb_console.c ---8<--- cfb_console.c:1497: warning: format '%s' expects type 'char *', but argument 3 has type 'const char (*)[]' --->8--- Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'drivers/video/cfb_console.c')
-rw-r--r--drivers/video/cfb_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 77e7285..b56197f 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -1494,7 +1494,7 @@ static void *video_logo (void)
logo_plot (video_fb_address, VIDEO_COLS, 0, 0);
- sprintf (info, " %s", &version_string);
+ sprintf (info, " %s", version_string);
space = (VIDEO_LINE_LEN / 2 - VIDEO_INFO_X) / VIDEO_FONT_WIDTH;
len = strlen(info);