diff options
Diffstat (limited to 'tests/ubi-tests/integ.c')
-rw-r--r-- | tests/ubi-tests/integ.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ubi-tests/integ.c b/tests/ubi-tests/integ.c index e0e8bee..f293444 100644 --- a/tests/ubi-tests/integ.c +++ b/tests/ubi-tests/integ.c @@ -731,10 +731,8 @@ int main(int argc,char *argv[]) return 1; } - initial_seed = getpid(); + next_seed = initial_seed = seed_random_generator(); printf("Initial seed = %u\n", (unsigned) initial_seed); - next_seed = initial_seed; - srand(initial_seed); load_ubi(); libubi = libubi_open(); |