mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Fix setrlimit() return value comparsion.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2350 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									bb4f83b901
								
							
						
					
					
						commit
						43a30a2ff1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -493,7 +493,7 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
                else {
 | 
			
		||||
                    rl.rlim_max = rl.rlim_cur = 9;
 | 
			
		||||
 | 
			
		||||
                    if (setrlimit(RLIMIT_RTPRIO, &rl) < 0) {
 | 
			
		||||
                    if (setrlimit(RLIMIT_RTPRIO, &rl) >= 0) {
 | 
			
		||||
                        pa_log_info("Successfully increased RLIMIT_RTPRIO");
 | 
			
		||||
                        drop = TRUE;
 | 
			
		||||
                    } else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue