diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2022-02-13 12:58:47 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2022-02-13 12:58:47 +0000 |
commit | a5ad6533c0850395ad554e2b4adc31108a1ab38a (patch) | |
tree | 4a458af75a62b500ae9ece10ca00a86653545ce6 /sys/net/bpf.c | |
parent | 34a067dadaa95a262ee49659b8c779b9bb9a706f (diff) |
Rename knote_modify() to knote_assign()
This avoids verb overlap with f_modify.
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index ce0fa81de22..2d0d069d27c 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.212 2022/02/11 07:28:29 visa Exp $ */ +/* $OpenBSD: bpf.c,v 1.213 2022/02/13 12:58:46 visa Exp $ */ /* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */ /* @@ -1257,7 +1257,7 @@ filt_bpfreadmodify(struct kevent *kev, struct knote *kn) int active; mtx_enter(&d->bd_mtx); - knote_modify(kev, kn); + knote_assign(kev, kn); active = filt_bpfread_common(kn, d); mtx_leave(&d->bd_mtx); |