diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-28 11:50:51 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-28 11:50:51 +0300 |
commit | 75d97ca45b74eccc01b18f44040f946d9d5df9f5 (patch) | |
tree | 09f65340037347155934eda7ac2123cc0614915a /tests/ubi-tests/io_basic.c | |
parent | 0e63a4c4f1ebc31f545835bd018174414928fc6f (diff) |
ubinize/ubiformat: improve random number seeding
Add current time to the PID to improve the pseudo-random number
generator seeding. Also, use 'rand()' instead of 'random()', because
'srand()' is for 'rand()'.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/io_basic.c')
0 files changed, 0 insertions, 0 deletions