From: Yang Xichuan Date: Thu, 16 Dec 2010 03:31:36 +0000 (+0800) Subject: core: Fix variable "has_whined" value bug X-Git-Tag: submit/2.0-panda/20130828.192557~874 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecd46c05d3d56fcab8f58469926cd07057c8dbdf;p=profile%2Fivi%2Fpulseaudio-panda.git 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. --- 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 };