Use srandom() under OpenBSD
Submitted by: Matt Behrens <matt@megaweapon.zigg.com>
This commit is contained in:
parent
ca84dc3f91
commit
ff7c637251
@ -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