summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/random.c
diff options
context:
space:
mode:
authorYang Xichuan <xichuan.yang@tieto.com>2010-12-16 11:31:36 +0800
committerColin Guthrie <cguthrie@mandriva.org>2010-12-18 11:20:46 +0000
commitecd46c05d3d56fcab8f58469926cd07057c8dbdf (patch)
tree9966365eea2dba1dba2ad7ee605d8ab857fd1f25 /src/pulsecore/random.c
parent62d085fc65945cc58236f3905b7ad1dcda481efe (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.
Diffstat (limited to 'src/pulsecore/random.c')
-rw-r--r--src/pulsecore/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/random.c b/src/pulsecore/random.c
index a87d24e3..3d159bf2 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 };