9
0
Fork 0

menu: fix remove superfluous newline: change puts() -> printf("%s", )

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 <fabio.porcedda@gmail.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Fabio Porcedda 2013-02-25 17:46:48 +01:00 committed by Sascha Hauer
parent 8c82b1b202
commit 8e418dcc63
1 changed files with 1 additions and 1 deletions

View File

@ -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--);
}