diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-14 09:35:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-15 12:21:46 +0200 |
commit | 473d6f8a7a16d1440f360b8562b746fbadee2d82 (patch) | |
tree | eb5143054103647fd5402e6c92223af1b9f5de7e /commands/menu.c | |
parent | 01f8f60cf06e180b2b5eb96ceb162473c0cb196a (diff) | |
download | barebox-473d6f8a7a16d1440f360b8562b746fbadee2d82.tar.gz barebox-473d6f8a7a16d1440f360b8562b746fbadee2d82.tar.xz |
stdio: replace fprintf(stderr,...) with eprintf
We have a shortcut for fprintf(stderr, so use it. This is done to
be able to remove fprintf in the next step.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/menu.c')
-rw-r--r-- | commands/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/menu.c b/commands/menu.c index 2008aa5e9d..9ec2d579b7 100644 --- a/commands/menu.c +++ b/commands/menu.c @@ -160,8 +160,8 @@ static int do_menu_add(struct cmd_menu *cm) free: eprintf("Menu '%s' add fail", cm->menu); if (ret == -EEXIST) - eputs(" already exist"); - eputs("\n"); + eprintf(" already exist"); + eprintf("\n"); menu_free(m); |