svn commit: r301454 - stable/10/lib/libc/stdlib

Andrey A. Chernov ache at FreeBSD.org
Sun Jun 5 16:21:54 UTC 2016


Author: ache
Date: Sun Jun  5 16:21:53 2016
New Revision: 301454
URL: https://svnweb.freebsd.org/changeset/base/301454

Log:
  MFC: r301448
  
  Reflect error indication according to POSIX and what those functions
  currently do.

Modified:
  stable/10/lib/libc/stdlib/random.3
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/stdlib/random.3
==============================================================================
--- stable/10/lib/libc/stdlib/random.3	Sun Jun  5 16:20:12 2016	(r301453)
+++ stable/10/lib/libc/stdlib/random.3	Sun Jun  5 16:21:53 2016	(r301454)
@@ -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 ,


More information about the svn-src-stable mailing list