projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[oweals/u-boot.git]
/
tools
/
gen_eth_addr.c
diff --git
a/tools/gen_eth_addr.c
b/tools/gen_eth_addr.c
index bf9d935efdca205328de190f911d70c6ac594df2..5fa3e0cf5651b8595591c837ee518185e93b9290 100644
(file)
--- a/
tools/gen_eth_addr.c
+++ b/
tools/gen_eth_addr.c
@@
-15,7
+15,7
@@
main(int argc, char *argv[])
{
unsigned long ethaddr_low, ethaddr_high;
- srand(time(0)
| getpid(
));
+ srand(time(0)
+ (getpid() << 8
));
/*
* setting the 2nd LSB in the most significant byte of