mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-23 18:23:25 +08: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…
Reference in New Issue
Block a user