From ecd46c05d3d56fcab8f58469926cd07057c8dbdf Mon Sep 17 00:00:00 2001 From: Yang Xichuan Date: Thu, 16 Dec 2010 11:31:36 +0800 Subject: 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. --- src/pulsecore/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/random.c') 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 }; -- cgit