X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=net%2Fbatman-adv%2Flog.c;h=853773e45f7921bccc142ed4208ff2d377134b49;hb=03fe2debbb2771fb90881e4ce8109b09cf772a5c;hp=9be74a44e99d01846602c72381cbb63c441e3fd9;hpb=3f551e3cefcf119c1d397ed8b5633d9fa73fca0a;p=mirror_ubuntu-eoan-kernel.git diff --git a/net/batman-adv/log.c b/net/batman-adv/log.c index 9be74a44e99d..853773e45f79 100644 --- a/net/batman-adv/log.c +++ b/net/batman-adv/log.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2010-2017 B.A.T.M.A.N. contributors: +/* Copyright (C) 2010-2018 B.A.T.M.A.N. contributors: * * Marek Lindner * @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -193,7 +194,7 @@ static __poll_t batadv_log_poll(struct file *file, poll_table *wait) poll_wait(file, &debug_log->queue_wait, wait); if (!batadv_log_empty(debug_log)) - return POLLIN | POLLRDNORM; + return EPOLLIN | EPOLLRDNORM; return 0; }