Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2016 16:21:53 +0000 (UTC)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r301454 - stable/10/lib/libc/stdlib
Message-ID:  <201606051621.u55GLrXl069696@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606051621.u55GLrXl069696>