mirror of
				https://github.com/PowerShell/openssh-portable.git
				synced 2025-11-04 05:24:08 +01:00 
			
		
		
		
	downgrade OOM adjustment logging: verbose -> debug
This commit is contained in:
		
							parent
							
								
									f9eca249d4
								
							
						
					
					
						commit
						0c30ba91f8
					
				@ -278,7 +278,7 @@ oom_adjust_setup(void)
 | 
			
		||||
					verbose("error writing %s: %s",
 | 
			
		||||
					   oom_adj_path, strerror(errno));
 | 
			
		||||
				else
 | 
			
		||||
					verbose("Set %s from %d to %d",
 | 
			
		||||
					debug("Set %s from %d to %d",
 | 
			
		||||
					   oom_adj_path, oom_adj_save, value);
 | 
			
		||||
			}
 | 
			
		||||
			fclose(fp);
 | 
			
		||||
@ -302,7 +302,7 @@ oom_adjust_restore(void)
 | 
			
		||||
	if (fprintf(fp, "%d\n", oom_adj_save) <= 0)
 | 
			
		||||
		verbose("error writing %s: %s", oom_adj_path, strerror(errno));
 | 
			
		||||
	else
 | 
			
		||||
		verbose("Set %s to %d", oom_adj_path, oom_adj_save);
 | 
			
		||||
		debug("Set %s to %d", oom_adj_path, oom_adj_save);
 | 
			
		||||
 | 
			
		||||
	fclose(fp);
 | 
			
		||||
	return;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user