Comment out srandom():

1) Already called in init_main.c:proc0_post()
2) Seed is bad
This commit is contained in:
Andrey A. Chernov 2003-02-05 15:32:24 +00:00
parent a9263b6214
commit 24a701b269
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110403
2 changed files with 4 additions and 1 deletions

View File

@ -4267,7 +4267,9 @@ key_timehandler(void)
static void
key_srandom()
{
#if 0 /* Already called in kern/init_main.c:proc0_post() */
srandom(time_second);
#endif
}
u_long

View File

@ -4439,12 +4439,13 @@ key_timehandler(void)
static void
key_srandom()
{
#if 0 /* Already called in kern/init_main.c:proc0_post() */
struct timeval tv;
microtime(&tv);
srandom(tv.tv_usec);
#endif
return;
}