mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
Use srandomdev
This commit is contained in:
parent
60f6447b3d
commit
1e029744bc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29774
@ -429,7 +429,7 @@ void randomize()
|
||||
register long tmp;
|
||||
register long *sp;
|
||||
|
||||
srandom((int)(time((time_t *) NULL) ^ getpid()));
|
||||
srandomdev();
|
||||
|
||||
Tbl.str_flags |= STR_RANDOM;
|
||||
cnt = Tbl.str_numstr;
|
||||
|
Loading…
Reference in New Issue
Block a user