summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-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