diff --git a/sys/compat/linuxkpi/common/src/linux_compat.c b/sys/compat/linuxkpi/common/src/linux_compat.c index d85d4ad7b8e4..9273a24bf69f 100644 --- a/sys/compat/linuxkpi/common/src/linux_compat.c +++ b/sys/compat/linuxkpi/common/src/linux_compat.c @@ -671,7 +671,7 @@ linux_file_poll(struct file *file, int events, struct ucred *active_cred, else revents = 0; - return (0); + return (revents); } static int