diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-28 20:19:41 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-29 15:43:42 +0100 |
commit | d887ad54ca74063338bc3108beed0aa4f15d1f6b (patch) | |
tree | a2af862d92f40cf38ebebc319134fadf8de1701b /board/dave/PPChameleonEVB/u-boot.lds | |
parent | 34b57d26f0e691f905e148538fbc00c4c24efcca (diff) | |
download | u-boot-imx-d887ad54ca74063338bc3108beed0aa4f15d1f6b.zip u-boot-imx-d887ad54ca74063338bc3108beed0aa4f15d1f6b.tar.gz u-boot-imx-d887ad54ca74063338bc3108beed0aa4f15d1f6b.tar.bz2 |
menu.c: use puts() instead of printf() where possible
common/menu.c used printf() in a number of places to print user
provided, constant strings (like the "title" string). printf() is
dangerous here for example in case the user unwittingly embeds some
'%' caracters that printf() would interpret as formatting and then
pick up random arguments. Use puts() instead.
We also omit the trailing ':' in the title line - if a user wants
this, he can provide it as part of the title string.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/dave/PPChameleonEVB/u-boot.lds')
0 files changed, 0 insertions, 0 deletions