From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sun, 4 Dec 2011 12:49:46 +0100 Subject: [U-Boot] [PATCH 1/9] common/menu.c: Fix build warning In-Reply-To: <201112041227.26958.marek.vasut@gmail.com> References: <1322930775-4767-1-git-send-email-agust@denx.de> <201112041227.26958.marek.vasut@gmail.com> Message-ID: <20111204124946.7993b584@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marek, On Sun, 4 Dec 2011 12:27:26 +0100 Marek Vasut wrote: ... > > 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); > > I see printf("%s\n", item->key); in there ... you might have some newer version > though. Please recheck and if that's the case: I've the newer version from u-boot.git master branch. Thanks, Anatolij