diff options
| author | Xin LI <delphij@FreeBSD.org> | 2013-03-01 00:46:41 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2013-03-01 00:46:41 +0000 |
| commit | f440f441ed80268a1c2203312adbbb08c6194dc6 (patch) | |
| tree | 5fba8b8b7b9a33f42c16597dbea15c543a4a1c4b | |
| parent | 732efd0aa990f995a9c83ed0ce21e5c0ae8ca38f (diff) | |
Notes
| -rw-r--r-- | sys/dev/random/randomdev_soft.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/randomdev_soft.c b/sys/dev/random/randomdev_soft.c index 2953d1891e85..dd759387822c 100644 --- a/sys/dev/random/randomdev_soft.c +++ b/sys/dev/random/randomdev_soft.c @@ -400,7 +400,7 @@ random_yarrow_block(int flag) mtx_lock(&random_reseed_mtx); /* Blocking logic */ - while (random_systat.seeded && !error) { + while (!random_systat.seeded && !error) { if (flag & O_NONBLOCK) error = EWOULDBLOCK; else { |
