mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Use srandom() under OpenBSD
Submitted by: Matt Behrens <matt@megaweapon.zigg.com>
This commit is contained in:
parent
c07a337569
commit
75fbd185a0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65210
@ -56,7 +56,7 @@
|
||||
void
|
||||
randinit()
|
||||
{
|
||||
#if __FreeBSD__ >= 3
|
||||
#if defined(__OpenBSD__) || __FreeBSD__ >= 3
|
||||
static int initdone; /* srandomdev() call is only required once */
|
||||
|
||||
if (!initdone) {
|
||||
|
Loading…
Reference in New Issue
Block a user