[U-Boot] [PATCH] net/eth: add newline to "failed MAC address" warning
Holger Brunck
holger.brunck at keymile.com
Fri Sep 23 14:47:51 CEST 2011
This prevents u-boot to display during bootime:
Out: serial
Err: serial
Net: UEC3Warning: failed to set MAC address
Now corrected and it will display:
Out: serial
Err: serial
Net: UEC3
Warning: failed to set MAC address
Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
---
net/eth.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/eth.c b/net/eth.c
index 02baa37..1c0c780 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -302,7 +302,7 @@ int eth_initialize(bd_t *bis)
puts("\nWarning: eth device name has a space!\n");
if (eth_write_hwaddr(dev, "eth", eth_number))
- puts("Warning: failed to set MAC address\n");
+ puts("\nWarning: failed to set MAC address\n");
eth_number++;
dev = dev->next;
--
1.7.1
More information about the U-Boot
mailing list