]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
downgrade OOM adjustment logging: verbose -> debug
authorDamien Miller <djm@mindrot.org>
Thu, 30 Jul 2015 02:31:39 +0000 (12:31 +1000)
committerDamien Miller <djm@mindrot.org>
Thu, 30 Jul 2015 02:32:42 +0000 (12:32 +1000)
openbsd-compat/port-linux.c

index 4637a7a3e16fe6cc04f637cdc49e52308a7b2f80..f36999d7acbdc546825a7e7969b6a19fe4210c53 100644 (file)
@@ -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;