summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-08-29 16:47:45 +0000
committerbrian <brian@FreeBSD.org>2000-08-29 16:47:45 +0000
commitff7c6372510230f13462a388f40f2cb0865b1560 (patch)
tree72b42c761af41d18897327661d034d9c2da95f48 /usr.sbin/ppp
parentca84dc3f91bcf6229a245a1458aa1f45a0eccaa9 (diff)
downloadFreeBSD-src-ff7c6372510230f13462a388f40f2cb0865b1560.zip
FreeBSD-src-ff7c6372510230f13462a388f40f2cb0865b1560.tar.gz
Use srandom() under OpenBSD
Submitted by: Matt Behrens <matt@megaweapon.zigg.com>
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/defs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c
index 7101dd8..a77823c 100644
--- a/usr.sbin/ppp/defs.c
+++ b/usr.sbin/ppp/defs.c
@@ -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) {
OpenPOWER on IntegriCloud