aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/null/null.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/null/null.c')
-rw-r--r--sys/dev/null/null.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/null/null.c b/sys/dev/null/null.c
index 8525eb9543c3..c4f138b102c7 100644
--- a/sys/dev/null/null.c
+++ b/sys/dev/null/null.c
@@ -61,12 +61,14 @@ static int zero_ev(struct knote *kn, long hint);
static const struct filterops one_fop = {
.f_isfd = 1,
- .f_event = one_ev
+ .f_event = one_ev,
+ .f_copy = knote_triv_copy,
};
static const struct filterops zero_fop = {
.f_isfd = 1,
- .f_event = zero_ev
+ .f_event = zero_ev,
+ .f_copy = knote_triv_copy,
};
static struct cdevsw full_cdevsw = {