summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-07 02:32:18 +0000
committerdd <dd@FreeBSD.org>2001-06-07 02:32:18 +0000
commit7e284cc83d80d0acc577afdc9e2c2ff31a2b278a (patch)
tree832e729c4e6585a65a5bc445ef18ddf778e2e36b
parent075fc28fc809851403ccba3ac0d1cf90cf111dd7 (diff)
downloadFreeBSD-src-7e284cc83d80d0acc577afdc9e2c2ff31a2b278a.zip
FreeBSD-src-7e284cc83d80d0acc577afdc9e2c2ff31a2b278a.tar.gz
urandom(4) -> random(4) in comments.
PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Reviewed by: md5(1) Approved by: markm
-rw-r--r--lib/libc/stdlib/rand.c2
-rw-r--r--lib/libc/stdlib/random.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/rand.c b/lib/libc/stdlib/rand.c
index 614dea5..bd881f0 100644
--- a/lib/libc/stdlib/rand.c
+++ b/lib/libc/stdlib/rand.c
@@ -111,7 +111,7 @@ u_int seed;
*
* Many programs choose the seed value in a totally predictable manner.
* This often causes problems. We seed the generator using the much more
- * secure urandom(4) interface.
+ * secure random(4) interface.
*/
void
sranddev()
diff --git a/lib/libc/stdlib/random.c b/lib/libc/stdlib/random.c
index fb0aa07..e1e2703 100644
--- a/lib/libc/stdlib/random.c
+++ b/lib/libc/stdlib/random.c
@@ -282,7 +282,7 @@ srandom(x)
*
* Many programs choose the seed value in a totally predictable manner.
* This often causes problems. We seed the generator using the much more
- * secure urandom(4) interface. Note that this particular seeding
+ * secure random(4) interface. Note that this particular seeding
* procedure can generate states which are impossible to reproduce by
* calling srandom() with any value, since the succeeding terms in the
* state buffer are no longer derived from the LC algorithm applied to
OpenPOWER on IntegriCloud