From a188b5854ff78496642c92ec2f615a41f19b6062 Mon Sep 17 00:00:00 2001
From: Wolfgang Denk <wd@pollux.(none)>
Date: Sun, 25 Sep 2005 17:05:57 +0200
Subject: [PATCH] Fix typo in eth.c Patch by Ara Avanesyan, 24 Feb 2005

---
 CHANGELOG | 3 +++
 net/eth.c | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 659c956bfce..39586baf5ab 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 68dfcae7a71..aa45b75a531 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);
 }
-- 
GitLab