summaryrefslogtreecommitdiffstats
path: root/commands/miitool.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-14 09:35:13 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-15 12:21:46 +0200
commit473d6f8a7a16d1440f360b8562b746fbadee2d82 (patch)
treeeb5143054103647fd5402e6c92223af1b9f5de7e /commands/miitool.c
parent01f8f60cf06e180b2b5eb96ceb162473c0cb196a (diff)
downloadbarebox-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/miitool.c')
-rw-r--r--commands/miitool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/miitool.c b/commands/miitool.c
index ba6e604633..07bce18651 100644
--- a/commands/miitool.c
+++ b/commands/miitool.c
@@ -120,7 +120,7 @@ static int show_basic_mii(struct mii_bus *mii, struct phy_device *phydev,
if (mii_val[MII_BMCR] == 0xffff || mii_val[MII_BMSR] == 0x0000) {
- fprintf(stderr, " No MII transceiver present!.\n");
+ eprintf(" No MII transceiver present!.\n");
return -1;
}