1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Use srandomdev

This commit is contained in:
Andrey A. Chernov 1997-09-24 06:22:40 +00:00
parent 60f6447b3d
commit 1e029744bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29774

View File

@ -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;