summaryrefslogtreecommitdiff
path: root/sys/isofs/cd9660
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-06-11 09:18:44 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-06-11 09:18:44 +0000
commit0529ec376803903373863e5ba657eb3c18425ac0 (patch)
treea58573688238999430f21280a433b7b4d606c68a /sys/isofs/cd9660
parentd79c538e70162087ab4c639328ca213db58e69ac (diff)
Rename poll-compatibility flag to better reflect what it is.
While here prefix kernel-only EV flags with two underbars. Suggested by kettenis@, ok visa@
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 c1abbb92ee7..4a5865d775d 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.84 2020/06/08 08:04:09 mpi Exp $ */
+/* $OpenBSD: cd9660_vnops.c,v 1.85 2020/06/11 09:18:43 mpi Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */
/*-
@@ -1036,7 +1036,7 @@ filt_cd9660read(struct knote *kn, long hint)
return (1);
}
- if (kn->kn_flags & EV_OLDAPI)
+ if (kn->kn_flags & __EV_POLL)
return (1);
return (kn->kn_data != 0);