Message ID | 20150916091511.5238F380905@gemini.denx.de |
---|---|
State | RFC |
Delegated to: | Wolfgang Denk |
Headers | show |
diff --git a/tools/gen_eth_addr.c b/tools/gen_eth_addr.c index bf9d935..834163a 100644 --- 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()); /* * setting the 2nd LSB in the most significant byte of