summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/port-linux.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-07-30 04:31:39 +0200
committerDamien Miller <djm@mindrot.org>2015-07-30 04:32:42 +0200
commit0c30ba91f87fcda7e975e6ff8a057f624e87ea1c (patch)
tree515a1a5d67656c2dab89fa4df260a85fb190323a /openbsd-compat/port-linux.c
parentupstream commit (diff)
downloadopenssh-0c30ba91f87fcda7e975e6ff8a057f624e87ea1c.tar.xz
openssh-0c30ba91f87fcda7e975e6ff8a057f624e87ea1c.zip
downgrade OOM adjustment logging: verbose -> debug
Diffstat (limited to 'openbsd-compat/port-linux.c')
-rw-r--r--openbsd-compat/port-linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c
index 4637a7a3e..f36999d7a 100644
--- a/openbsd-compat/port-linux.c
+++ b/openbsd-compat/port-linux.c
@@ -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;