summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-linux.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-07-30 12:31:39 +1000
committerDamien Miller <djm@mindrot.org>2015-07-30 12:32:42 +1000
commit0c30ba91f87fcda7e975e6ff8a057f624e87ea1c (patch)
tree515a1a5d67656c2dab89fa4df260a85fb190323a /openbsd-compat/port-linux.c
parentf9eca249d4961f28ae4b09186d7dc91de74b5895 (diff)
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)
278 verbose("error writing %s: %s", 278 verbose("error writing %s: %s",
279 oom_adj_path, strerror(errno)); 279 oom_adj_path, strerror(errno));
280 else 280 else
281 verbose("Set %s from %d to %d", 281 debug("Set %s from %d to %d",
282 oom_adj_path, oom_adj_save, value); 282 oom_adj_path, oom_adj_save, value);
283 } 283 }
284 fclose(fp); 284 fclose(fp);
@@ -302,7 +302,7 @@ oom_adjust_restore(void)
302 if (fprintf(fp, "%d\n", oom_adj_save) <= 0) 302 if (fprintf(fp, "%d\n", oom_adj_save) <= 0)
303 verbose("error writing %s: %s", oom_adj_path, strerror(errno)); 303 verbose("error writing %s: %s", oom_adj_path, strerror(errno));
304 else 304 else
305 verbose("Set %s to %d", oom_adj_path, oom_adj_save); 305 debug("Set %s to %d", oom_adj_path, oom_adj_save);
306 306
307 fclose(fp); 307 fclose(fp);
308 return; 308 return;