[pulseaudio-discuss] [PATCH] core: Fix variable "has_whined" value bug
yang xichuan
xichuan.yang at tieto.com
Wed Dec 15 19:31:36 PST 2010
Hi all,
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.
So I changed its value.
Here's the patch:
Signed-off-by: xichuan.yang <xichuan.yang at tieto.com>
---
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 a87d24e..3d159bf 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 };
--
1.7.1
Best wishes,
Xichuan Yang
xichuan.yang<xichuan.yang at tieto.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20101216/c9faf10b/attachment.htm>
More information about the pulseaudio-discuss
mailing list