summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-11-28 20:19:41 +0100
committerWolfgang Denk <wd@denx.de>2011-11-28 20:19:41 +0100
commita63d9652757605ec5f7104addc5d38bf10ba8671 (patch)
treea2af862d92f40cf38ebebc319134fadf8de1701b /tools
parent68435fa1519cb92493fd59e05bc9dbe7f2205feb (diff)
downloadblackbird-obmc-uboot-a63d9652757605ec5f7104addc5d38bf10ba8671.tar.gz
blackbird-obmc-uboot-a63d9652757605ec5f7104addc5d38bf10ba8671.zip
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 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud