summaryrefslogtreecommitdiffstats
path: root/fs/proc/kmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/kmsg.c')
-rw-r--r--fs/proc/kmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c
index e0f8774acd65..f0bfb45c3f9f 100644
--- a/fs/proc/kmsg.c
+++ b/fs/proc/kmsg.c
@@ -40,7 +40,7 @@ static ssize_t kmsg_read(struct file *file, char __user *buf,
40 return do_syslog(SYSLOG_ACTION_READ, buf, count, SYSLOG_FROM_PROC); 40 return do_syslog(SYSLOG_ACTION_READ, buf, count, SYSLOG_FROM_PROC);
41} 41}
42 42
43static unsigned int kmsg_poll(struct file *file, poll_table *wait) 43static __poll_t kmsg_poll(struct file *file, poll_table *wait)
44{ 44{
45 poll_wait(file, &log_wait, wait); 45 poll_wait(file, &log_wait, wait);
46 if (do_syslog(SYSLOG_ACTION_SIZE_UNREAD, NULL, 0, SYSLOG_FROM_PROC)) 46 if (do_syslog(SYSLOG_ACTION_SIZE_UNREAD, NULL, 0, SYSLOG_FROM_PROC))