diff options
author | mpi <mpi@openbsd.org> | 2020-06-11 09:18:43 +0000 |
---|---|---|
committer | mpi <mpi@openbsd.org> | 2020-06-11 09:18:43 +0000 |
commit | 1c57bd6bc2d4b1536ac76e1cdb4ba92124a01e2a (patch) | |
tree | cf6c4012afeddc39d7109022ec66f36b3657a917 /sys/tmpfs | |
parent | Make spec_kqfilter() and cttykqfilter() behave like their corresponding (diff) | |
download | wireguard-openbsd-1c57bd6bc2d4b1536ac76e1cdb4ba92124a01e2a.tar.xz wireguard-openbsd-1c57bd6bc2d4b1536ac76e1cdb4ba92124a01e2a.zip |
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/tmpfs')
-rw-r--r-- | sys/tmpfs/tmpfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/tmpfs/tmpfs_vnops.c b/sys/tmpfs/tmpfs_vnops.c index 46a2c1c0d0a..37b3c0a397b 100644 --- a/sys/tmpfs/tmpfs_vnops.c +++ b/sys/tmpfs/tmpfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmpfs_vnops.c,v 1.41 2020/06/08 08:04:10 mpi Exp $ */ +/* $OpenBSD: tmpfs_vnops.c,v 1.42 2020/06/11 09:18:43 mpi Exp $ */ /* $NetBSD: tmpfs_vnops.c,v 1.100 2012/11/05 17:27:39 dholland Exp $ */ /* @@ -2665,7 +2665,7 @@ filt_tmpfsread(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); |