diff --git a/v/ames.c b/v/ames.c index 5ee4b55f8a..fc1e9e4275 100644 --- a/v/ames.c +++ b/v/ames.c @@ -279,10 +279,7 @@ u2_ames_io_init() u2_ames* sam_u = &u2_Host.sam_u; c3_s por_s; - srand(time(0)); // don't panic, only for fuzz testing - por_s = u2_Host.ops_u.por_s; - if ( 0 != u2_Host.ops_u.imp_c ) { u2_noun imp = u2_ci_string(u2_Host.ops_u.imp_c); u2_noun num = u2_dc("slaw", 'p', imp); diff --git a/v/main.c b/v/main.c index 1e0db8672f..fb3ea6165b 100644 --- a/v/main.c +++ b/v/main.c @@ -283,6 +283,9 @@ main(c3_i argc, printf("Starting daemon\n"); } + // Seed prng. Don't panic -- just for fuzz testing and election timeouts. + srand(getpid()); + // Instantiate process globals. { u2_wr_check_init(u2_Host.ops_u.cpu_c);