diff options
Diffstat (limited to 'kernel/time/posix-clock.c')
-rw-r--r-- | kernel/time/posix-clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/posix-clock.c b/kernel/time/posix-clock.c index 94ad46d50b56..fe56c4e06c51 100644 --- a/kernel/time/posix-clock.c +++ b/kernel/time/posix-clock.c | |||
@@ -74,7 +74,7 @@ static __poll_t posix_clock_poll(struct file *fp, poll_table *wait) | |||
74 | __poll_t result = 0; | 74 | __poll_t result = 0; |
75 | 75 | ||
76 | if (!clk) | 76 | if (!clk) |
77 | return POLLERR; | 77 | return EPOLLERR; |
78 | 78 | ||
79 | if (clk->ops.poll) | 79 | if (clk->ops.poll) |
80 | result = clk->ops.poll(clk, fp, wait); | 80 | result = clk->ops.poll(clk, fp, wait); |