]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix typo in eth.c
authorWolfgang Denk <wd@pollux.(none)>
Sun, 25 Sep 2005 15:05:57 +0000 (17:05 +0200)
committerWolfgang Denk <wd@pollux.(none)>
Sun, 25 Sep 2005 15:05:57 +0000 (17:05 +0200)
Patch by Ara Avanesyan, 24 Feb 2005

CHANGELOG
net/eth.c

index 659c956bfce4d7aa59de08e212d82a7ae49616c5..39586baf5ab58a0704811afc084f681b62fff7df 100644 (file)
--- 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
 
index 68dfcae7a7128ff851e65041fc7839ef9e8c06fa..aa45b75a531174d3f1743ddeeab0cee472b89d0f 100644 (file)
--- 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);
 }