summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts/change-default-console-loglevel.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-02-26 17:28:38 -0200
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-02-26 17:28:38 -0200
commit31763e92611731c859ccbe4e97019afabb5ef91e (patch)
treef4875062838ad1019fd8fa04371de5c8541e802d /libre/linux-libre-lts/change-default-console-loglevel.patch
parenta43211ffe2915a7072f34250db6201cf9f2b4551 (diff)
libre/linux-libre-lts
Diffstat (limited to 'libre/linux-libre-lts/change-default-console-loglevel.patch')
-rw-r--r--libre/linux-libre-lts/change-default-console-loglevel.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/linux-libre-lts/change-default-console-loglevel.patch b/libre/linux-libre-lts/change-default-console-loglevel.patch
new file mode 100644
index 000000000..63435d84f
--- /dev/null
+++ b/libre/linux-libre-lts/change-default-console-loglevel.patch
@@ -0,0 +1,12 @@
+diff -upr linux-3.0.orig/kernel/printk.c linux-3.0/kernel/printk.c
+--- linux-3.0.orig/kernel/printk.c 2011-07-22 05:17:23.000000000 +0300
++++ linux-3.0/kernel/printk.c 2011-07-27 14:43:07.000000000 +0300
+@@ -58,7 +58,7 @@ void asmlinkage __attribute__((weak)) ea
+
+ /* We show everything that is MORE important than this.. */
+ #define MINIMUM_CONSOLE_LOGLEVEL 1 /* Minimum loglevel we let people use */
+-#define DEFAULT_CONSOLE_LOGLEVEL 7 /* anything MORE serious than KERN_DEBUG */
++#define DEFAULT_CONSOLE_LOGLEVEL 4 /* anything MORE serious than KERN_DEBUG */
+
+ DECLARE_WAIT_QUEUE_HEAD(log_wait);
+