diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2025-10-16 22:32:45 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-10-18 05:12:37 +0000 |
| commit | 36138969847b231cd98f48272e2bdf88a8dc08dd (patch) | |
| tree | 3a251180b5556e9731f915feb2a36b10122d508f /sys/dev/null | |
| parent | 7a72e88781ae294aae6b97e1972cb19b2a670412 (diff) | |
Diffstat (limited to 'sys/dev/null')
| -rw-r--r-- | sys/dev/null/null.c | 6 |
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 = { |
