aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/printk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index 1c8ca176458f..376914e2869d 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -601,7 +601,8 @@ static unsigned int devkmsg_poll(struct file *file, poll_table *wait)
601 /* return error when data has vanished underneath us */ 601 /* return error when data has vanished underneath us */
602 if (user->seq < log_first_seq) 602 if (user->seq < log_first_seq)
603 ret = POLLIN|POLLRDNORM|POLLERR|POLLPRI; 603 ret = POLLIN|POLLRDNORM|POLLERR|POLLPRI;
604 ret = POLLIN|POLLRDNORM; 604 else
605 ret = POLLIN|POLLRDNORM;
605 } 606 }
606 raw_spin_unlock_irq(&logbuf_lock); 607 raw_spin_unlock_irq(&logbuf_lock);
607 608