summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG3
-rw-r--r--net/eth.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 659c956..39586ba 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4:
======================================================================
+* Fix typo in eth.c
+ Patch by Ara Avanesyan, 24 Feb 2005
+
* Remove unneeded #include <malloc.h>
Patch by Ladislav Michl, 22 Feb 2005
diff --git a/net/eth.c b/net/eth.c
index 68dfcae..aa45b75 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -302,9 +302,9 @@ void eth_set_enetaddr(int num, char *addr) {
debug ( "Setting new HW address on %s\n"
"New Address is %02X:%02X:%02X:%02X:%02X:%02X\n",
dev->name,
- dev->enetaddr[0], dev->enetaddr[1],
- dev->enetaddr[2], dev->enetaddr[3],
- dev->enetaddr[4], dev->enetaddr[5]);
+ enetaddr[0], enetaddr[1],
+ enetaddr[2], enetaddr[3],
+ enetaddr[4], enetaddr[5]);
memcpy(dev->enetaddr, enetaddr, 6);
}