summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2020-12-11 00:13:39 +0000
committerEnji Cooper <ngie@FreeBSD.org>2020-12-11 00:13:39 +0000
commitc80d36d0e0221db90bfd48e6cee85f43ca4987f4 (patch)
tree3159ba2ab880254965bfead531ee38a7ae795306 /lib
parent37d8e9a3268f75d78c8a9c6efdc3ca409fe59db0 (diff)
downloadsrc-test-c80d36d0e0221db90bfd48e6cee85f43ca4987f4.tar.gz
src-test-c80d36d0e0221db90bfd48e6cee85f43ca4987f4.zip
arc4random(3): fix .Xr issues
- pthreads(3) should actually be pthread(3). - getentropy(2) should actually be getentropy(3). This makes the manpage `make manlint` clean. MFC after: 1 week Sponsored by: DellEMC Isilon
Notes
Notes: svn path=/head/; revision=368532
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/arc4random.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/arc4random.3 b/lib/libc/gen/arc4random.3
index 8082b70ea1c9a..75f77a5cab591 100644
--- a/lib/libc/gen/arc4random.3
+++ b/lib/libc/gen/arc4random.3
@@ -62,7 +62,7 @@ consumption because the other interfaces are deficient in either
quality, portability, standardization, or availability.
These functions can be called in almost all coding environments,
including
-.Xr pthreads 3
+.Xr pthread 3
and
.Xr chroot 2 .
.Pp
@@ -74,7 +74,7 @@ under program flow can act as additional stirring.
The subsystem is re-seeded from the kernel
.Xr random 4
subsystem using
-.Xr getentropy 2
+.Xr getentropy 3
on a regular basis, and also upon
.Xr fork 2 .
.Pp