]> code.delx.au - pulseaudio/commitdiff
core: Fix variable "has_whined" value bug
authorYang Xichuan <xichuan.yang@tieto.com>
Thu, 16 Dec 2010 03:31:36 +0000 (11:31 +0800)
committerColin Guthrie <cguthrie@mandriva.org>
Sat, 18 Dec 2010 11:20:46 +0000 (11:20 +0000)
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

index a87d24e31cd77c3aee9d753a81801abefdd2abfd..3d159bf24f823280a6b7c2d934d3df264f475daa 100644 (file)
@@ -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 };