diff options
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 98d34fb61744..74d1eed7cbd4 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -2642,7 +2642,7 @@ static __poll_t unix_poll(struct file *file, struct socket *sock, poll_table *wa | |||
2642 | struct sock *sk = sock->sk; | 2642 | struct sock *sk = sock->sk; |
2643 | __poll_t mask; | 2643 | __poll_t mask; |
2644 | 2644 | ||
2645 | sock_poll_wait(file, wait); | 2645 | sock_poll_wait(file, sock, wait); |
2646 | mask = 0; | 2646 | mask = 0; |
2647 | 2647 | ||
2648 | /* exceptional events? */ | 2648 | /* exceptional events? */ |
@@ -2679,7 +2679,7 @@ static __poll_t unix_dgram_poll(struct file *file, struct socket *sock, | |||
2679 | unsigned int writable; | 2679 | unsigned int writable; |
2680 | __poll_t mask; | 2680 | __poll_t mask; |
2681 | 2681 | ||
2682 | sock_poll_wait(file, wait); | 2682 | sock_poll_wait(file, sock, wait); |
2683 | mask = 0; | 2683 | mask = 0; |
2684 | 2684 | ||
2685 | /* exceptional events? */ | 2685 | /* exceptional events? */ |