diff options
author | Yang Xichuan <xichuan.yang@tieto.com> | 2010-12-16 11:31:36 +0800 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-12-18 11:21:02 +0000 |
commit | d963b868de4d6cce558bc483d521a57a291e45f2 (patch) | |
tree | 2389f10c00c4bf9759f5ffa67d49969d9f98a542 | |
parent | 52e3268c9fe30fb59364b2ec66e2446eb7765015 (diff) |
core: Fix variable "has_whined" value bug
In the file src/pulsecore/random.c
I found that the log information "Failed to get proper entropy. Falling
back to seeding with current time." would never be printed.
This change corrects the issue.
-rw-r--r-- | src/pulsecore/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/random.c b/src/pulsecore/random.c index 518c281a..58a5302e 100644 --- a/src/pulsecore/random.c +++ b/src/pulsecore/random.c @@ -37,7 +37,7 @@ #include "random.h" -static pa_bool_t has_whined = TRUE; +static pa_bool_t has_whined = FALSE; static const char * const devices[] = { "/dev/urandom", "/dev/random", NULL }; |