summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-09-25 17:05:57 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-09-25 17:05:57 +0200
commita188b5854ff78496642c92ec2f615a41f19b6062 (patch)
treea3d5b864e5cf96c1324feb1ca7e1fe4a08063a9b /net
parent31466294b0c4ff372288229b0997de51f8ecaf3f (diff)
downloadu-boot-imx-a188b5854ff78496642c92ec2f615a41f19b6062.zip
u-boot-imx-a188b5854ff78496642c92ec2f615a41f19b6062.tar.gz
u-boot-imx-a188b5854ff78496642c92ec2f615a41f19b6062.tar.bz2
Fix typo in eth.c
Patch by Ara Avanesyan, 24 Feb 2005
Diffstat (limited to 'net')
-rw-r--r--net/eth.c6
1 files changed, 3 insertions, 3 deletions
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);
}