aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/printk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index a2276b916769..d6a1412f6b09 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1040,6 +1040,7 @@ int do_syslog(int type, char __user *buf, int len, bool from_file)
1040 /* Clear ring buffer */ 1040 /* Clear ring buffer */
1041 case SYSLOG_ACTION_CLEAR: 1041 case SYSLOG_ACTION_CLEAR:
1042 syslog_print_all(NULL, 0, true); 1042 syslog_print_all(NULL, 0, true);
1043 break;
1043 /* Disable logging to console */ 1044 /* Disable logging to console */
1044 case SYSLOG_ACTION_CONSOLE_OFF: 1045 case SYSLOG_ACTION_CONSOLE_OFF:
1045 if (saved_console_loglevel == -1) 1046 if (saved_console_loglevel == -1)