summaryrefslogtreecommitdiff
path: root/sys/isofs/cd9660
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2021-12-11 09:28:27 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2021-12-11 09:28:27 +0000
commitc1809b833fd76a96ac3af269b7e0adffa3ec9ed1 (patch)
tree74d59d5fa50632e1755a67a258df2d3f388baf40 /sys/isofs/cd9660
parent8e9bdeba24898f46623ffd9191ed9fb8e126065e (diff)
Clarify usage of __EV_POLL and __EV_SELECT
Make __EV_POLL specific to kqueue-based poll(2), to remove overlap with __EV_SELECT that only select(2) uses. OK millert@ mpi@
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index ed1b5f39c71..20efc932833 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vnops.c,v 1.90 2021/10/02 08:51:41 semarie Exp $ */
+/* $OpenBSD: cd9660_vnops.c,v 1.91 2021/12/11 09:28:26 visa Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */
/*-
@@ -1017,7 +1017,7 @@ filt_cd9660read(struct knote *kn, long hint)
return (1);
}
- if (kn->kn_flags & __EV_POLL)
+ if (kn->kn_flags & (__EV_POLL | __EV_SELECT))
return (1);
return (kn->kn_data != 0);