mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Fix incorrect call to nonexistant pa_log_warning().
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1122 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									0762af2aee
								
							
						
					
					
						commit
						4a59581a4c
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -220,7 +220,7 @@ static int parse_rlimit(const char *filename, unsigned line, const char *lvalue,
 | 
				
			||||||
        r->value = k >= 0 ? (rlim_t) k : 0;
 | 
					        r->value = k >= 0 ? (rlim_t) k : 0;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
    pa_log_warning(__FILE__": [%s:%u] rlimit not supported on this platform.", filename, line);
 | 
					    pa_log_warn(__FILE__": [%s:%u] rlimit not supported on this platform.", filename, line);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -437,7 +437,7 @@ int main(int argc, char *argv[]) {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (real_root && !conf->system_instance) {
 | 
					    if (real_root && !conf->system_instance) {
 | 
				
			||||||
        pa_log_warning(__FILE__": This program is not intended to be run as root (unless --system is specified).");
 | 
					        pa_log_warn(__FILE__": This program is not intended to be run as root (unless --system is specified).");
 | 
				
			||||||
    } else if (!real_root && conf->system_instance) {
 | 
					    } else if (!real_root && conf->system_instance) {
 | 
				
			||||||
        pa_log(__FILE__": Root priviliges required.");
 | 
					        pa_log(__FILE__": Root priviliges required.");
 | 
				
			||||||
        goto finish;
 | 
					        goto finish;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue