summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-05-29 00:03:00 +0000
committerbrian <brian@FreeBSD.org>1998-05-29 00:03:00 +0000
commitcc4f50366331d175494d53eaa25080806ccc4bd3 (patch)
tree3a6416715d918f31f65413c1fcb09755f5ea8500 /usr.sbin/ppp/defs.c
parente0d8cc391d650e6b69d5d77af50a002041522151 (diff)
downloadFreeBSD-src-cc4f50366331d175494d53eaa25080806ccc4bd3.zip
FreeBSD-src-cc4f50366331d175494d53eaa25080806ccc4bd3.tar.gz
srandomdev() isn't available in all 2.* versions. Only
use it for version 3 (-current) & up.
Diffstat (limited to 'usr.sbin/ppp/defs.c')
-rw-r--r--usr.sbin/ppp/defs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c
index 7c44465..85ccbcf 100644
--- a/usr.sbin/ppp/defs.c
+++ b/usr.sbin/ppp/defs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: defs.c,v 1.11.4.12 1998/05/15 23:58:21 brian Exp $
+ * $Id: defs.c,v 1.13 1998/05/21 21:45:03 brian Exp $
*/
@@ -38,7 +38,7 @@
void
randinit()
{
-#if __FreeBSD__ >= 2
+#if __FreeBSD__ >= 3
static int initdone;
if (!initdone) {
OpenPOWER on IntegriCloud