summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/patch/random.patch
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/patch/random.patch')
-rw-r--r--usr.sbin/ppp/patch/random.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.sbin/ppp/patch/random.patch b/usr.sbin/ppp/patch/random.patch
new file mode 100644
index 00000000000..f490b9f1f61
--- /dev/null
+++ b/usr.sbin/ppp/patch/random.patch
@@ -0,0 +1,11 @@
+--- defs.c.orig Tue Nov 18 18:40:03 1997
++++ defs.c Tue Nov 18 18:40:19 1997
+@@ -46,7 +46,7 @@
+ void
+ randinit()
+ {
+- srandom(time(NULL));
++ srandom(time(NULL)&getpid());
+ }
+
+