From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-f182.google.com ([209.85.212.182]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U9w7l-0005xz-SE for barebox@lists.infradead.org; Mon, 25 Feb 2013 11:21:38 +0000 Received: by mail-wi0-f182.google.com with SMTP id hi18so3032902wib.3 for ; Mon, 25 Feb 2013 03:21:36 -0800 (PST) From: Fabio Porcedda Date: Mon, 25 Feb 2013 12:21:32 +0100 Message-Id: <1361791292-9107-1-git-send-email-fabio.porcedda@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [RFC] menu: fix remove superfluous newline: change puts() -> printf("%s, ) To: barebox@lists.infradead.org Cc: Vicente Bergas Fix previous commit: 638f91b "fix compiler warnings: use puts() instead of printf()". Because puts() function add a newline use instead printf("%s", ). Signed-off-by: Fabio Porcedda Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: Vicente Bergas --- common/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/menu.c b/common/menu.c index 30dced7..a672e59 100644 --- a/common/menu.c +++ b/common/menu.c @@ -274,7 +274,7 @@ int menu_show(struct menu *m) printf("Auto Select in"); } else { auto_display_len = strlen(m->auto_display); - puts(m->auto_display); + printf("%s", m->auto_display); } printf(" %2d", countdown--); } -- 1.8.1.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox