mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
cfb_console: fix build breakage
Commit 09c2e90c11
"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 Biemann <andreas.devel@googlemail.com>
This commit is contained in:
parent
40e018815d
commit
ce0f709bcd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue