Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 20:45:25 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285573 - head/sys/dev/random
Message-ID:  <201507142045.t6EKjP3J039050@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Tue Jul 14 20:45:24 2015
New Revision: 285573
URL: https://svnweb.freebsd.org/changeset/base/285573

Log:
  Fix the build after breaking it in r285549.
  
  I performed the commit on a different system as where I wrote the
  change. After pulling in the change from Phabricator, I didn't notice
  that a single chunk did not apply.
  
  Approved by:	secteam (implicit, as intended change was approved)
  Pointy hat to:	me

Modified:
  head/sys/dev/random/randomdev.c

Modified: head/sys/dev/random/randomdev.c
==============================================================================
--- head/sys/dev/random/randomdev.c	Tue Jul 14 20:10:41 2015	(r285572)
+++ head/sys/dev/random/randomdev.c	Tue Jul 14 20:45:24 2015	(r285573)
@@ -168,7 +168,7 @@ read_random_uio(struct uio *uio, bool no
 	/* (Un)Blocking logic */
 	error = 0;
 	while (!random_alg_context.ra_seeded()) {
-		if (flags & O_NONBLOCK)	{
+		if (nonblock) {
 			error = EWOULDBLOCK;
 			break;
 		}



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