summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r--sys/dev/usb/uhid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 979105a069d..9211f740379 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhid.c,v 1.76 2020/01/18 09:00:52 visa Exp $ */
+/* $OpenBSD: uhid.c,v 1.77 2020/02/20 16:56:52 visa Exp $ */
/* $NetBSD: uhid.c,v 1.57 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -461,14 +461,14 @@ filt_uhidread(struct knote *kn, long hint)
}
const struct filterops uhidread_filtops = {
- .f_isfd = 1,
+ .f_flags = FILTEROP_ISFD,
.f_attach = NULL,
.f_detach = filt_uhidrdetach,
.f_event = filt_uhidread,
};
const struct filterops uhid_seltrue_filtops = {
- .f_isfd = 1,
+ .f_flags = FILTEROP_ISFD,
.f_attach = NULL,
.f_detach = filt_uhidrdetach,
.f_event = filt_seltrue,