mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									62d085fc65
								
							
						
					
					
						commit
						ecd46c05d3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -37,7 +37,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "random.h"
 | 
					#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 };
 | 
					static const char * const devices[] = { "/dev/urandom", "/dev/random", NULL };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue