summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre/change-default-console-loglevel.patch
diff options
context:
space:
mode:
authorShackra Sislock <jorgean@lavabit.com>2013-07-08 20:16:40 -0600
committerShackra Sislock <jorgean@lavabit.com>2013-07-08 20:16:40 -0600
commit51260b0f126b52e5a4a644fe95584acaca0d00c3 (patch)
treec7899925d2c771c4c5c3f3ab7ad357c0b4eb0b0b /libre-testing/linux-libre/change-default-console-loglevel.patch
parent8d214fa37c5ab662b249cac9f96629af85a02f74 (diff)
parent5b5218e925c8fefd1b28444cbfe90901e01b5d72 (diff)
merging brances...
Diffstat (limited to 'libre-testing/linux-libre/change-default-console-loglevel.patch')
-rw-r--r--libre-testing/linux-libre/change-default-console-loglevel.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre-testing/linux-libre/change-default-console-loglevel.patch b/libre-testing/linux-libre/change-default-console-loglevel.patch
new file mode 100644
index 000000000..2685d4d23
--- /dev/null
+++ b/libre-testing/linux-libre/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_WARNING */
+
+ DECLARE_WAIT_QUEUE_HEAD(log_wait);
+