summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2016-06-05 16:21:53 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2016-06-05 16:21:53 +0000
commitb014914de710ce006aaaedb9ac8f64dff58474b7 (patch)
treebeff99f2fd03abb546dda0d1a0411348e8f531e5
parentff710b3ad37b61b40613fc6c401b218ce9e87f7f (diff)
Notes
-rw-r--r--lib/libc/stdlib/random.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3
index dc8e961d8cec8..35b0aa1e72e4a 100644
--- a/lib/libc/stdlib/random.3
+++ b/lib/libc/stdlib/random.3
@@ -175,8 +175,8 @@ If
.Fn initstate
is called with less than 8 bytes of state information, or if
.Fn setstate
-detects that the state information has been garbled, error
-messages are printed on the standard error output.
+detects that the state information has been garbled,
+NULL is returned.
.Sh SEE ALSO
.Xr arc4random 3 ,
.Xr lrand48 3 ,