projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: cosmetic: Make the MAC address string less magical
[oweals/u-boot.git]
/
net
/
eth_common.c
diff --git
a/net/eth_common.c
b/net/eth_common.c
index 288090155e50bec54604def7b9ea85731c394735..e9d3c66741201f5ccfe321cf1431e3339f1ed18b 100644
(file)
--- a/
net/eth_common.c
+++ b/
net/eth_common.c
@@
-32,7
+32,7
@@
int eth_getenv_enetaddr(const char *name, uchar *enetaddr)
int eth_setenv_enetaddr(const char *name, const uchar *enetaddr)
{
- char buf[
20
];
+ char buf[
ARP_HLEN_ASCII + 1
];
sprintf(buf, "%pM", enetaddr);