From: Anatolij Gustschin Date: Sat, 3 Dec 2011 06:46:07 +0000 (+0000) Subject: common/menu.c: Fix build warning X-Git-Tag: v2011.12-rc1~81 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2157497615696c41512d857478158f8546942d70;p=oweals%2Fu-boot.git 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 Acked-by: Heiko Schocher Tested-by: Heiko Schocher Acked-by: Marek Vasut --- diff --git a/common/menu.c b/common/menu.c index ca1baefbbd..5e0817c454 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);