[PATCH 02/24] net: fix printf compiler warnings

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 7 05:43:42 EST 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 net/eth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/eth.c b/net/eth.c
index 7502e98..8333d80 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -166,7 +166,7 @@ int eth_register(struct eth_device *edev)
 
 	if (edev->get_ethaddr(edev, ethaddr) == 0) {
 		ethaddr_to_string(ethaddr, ethaddr_str);
-		printf("got MAC address from EEPROM: %s\n",&ethaddr_str);
+		printf("got MAC address from EEPROM: %s\n", ethaddr_str);
 		dev_set_param(dev, "ethaddr", ethaddr_str);
 	}
 
-- 
1.7.2.3




More information about the barebox mailing list