Use srandom() under OpenBSD

Submitted by:	Matt Behrens <matt@megaweapon.zigg.com>
This commit is contained in:
brian 2000-08-29 16:47:45 +00:00
parent ca84dc3f91
commit ff7c637251

View File

@ -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) {