summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2000-08-29 16:47:05 +0000
committerbrian <brian@cvs.openbsd.org>2000-08-29 16:47:05 +0000
commit05c420ce4eb13aefa64c26d3f7d2a80e63ff7f22 (patch)
tree777e157382c0a998de9cea57f751e6640bbb13ad /usr.sbin/ppp
parentf844b153a37722df6bd1c29d8357693aa5ffbebb (diff)
Use srandom(); Matt Behrens <matt@megaweapon.zigg.com>
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/defs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp/defs.c b/usr.sbin/ppp/ppp/defs.c
index 7281011549f..3d643549a6e 100644
--- a/usr.sbin/ppp/ppp/defs.c
+++ b/usr.sbin/ppp/ppp/defs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: defs.c,v 1.13 2000/08/16 09:07:27 brian Exp $
+ * $OpenBSD: defs.c,v 1.14 2000/08/29 16:47:04 brian Exp $
*/
@@ -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) {