summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-12-03 06:46:07 +0000
committerWolfgang Denk <wd@denx.de>2011-12-05 23:26:40 +0100
commit2157497615696c41512d857478158f8546942d70 (patch)
treeabaea7ac6fc723e63ba07d685bb1404bf9ead7d4
parentb63cb09719c993fc2812766c63df5a161fa2ac90 (diff)
downloadu-boot-imx-2157497615696c41512d857478158f8546942d70.zip
u-boot-imx-2157497615696c41512d857478158f8546942d70.tar.gz
u-boot-imx-2157497615696c41512d857478158f8546942d70.tar.bz2
common/menu.c: Fix build warning
Fix: menu.c: In function 'menu_item_print': menu.c:91: warning: passing argument 1 of 'putc' makes integer from pointer without a cast Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Heiko Schocher <hs@denx.de> Tested-by: Heiko Schocher <hs@denx.de> Acked-by: Marek Vasut <marek.vasut@gmail.com>
-rw-r--r--common/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/menu.c b/common/menu.c
index ca1baef..5e0817c 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -88,7 +88,7 @@ static inline void *menu_item_print(struct menu *m,
void *extra)
{
if (!m->item_data_print) {
- putc(item->key);
+ puts(item->key);
putc('\n');
} else {
m->item_data_print(item->data);