summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2022-02-13 12:58:47 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2022-02-13 12:58:47 +0000
commita5ad6533c0850395ad554e2b4adc31108a1ab38a (patch)
tree4a458af75a62b500ae9ece10ca00a86653545ce6 /sys/miscfs
parent34a067dadaa95a262ee49659b8c779b9bb9a706f (diff)
Rename knote_modify() to knote_assign()
This avoids verb overlap with f_modify.
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/fifofs/fifo_vnops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/fifofs/fifo_vnops.c b/sys/miscfs/fifofs/fifo_vnops.c
index 1ac3a990132..88f2ca26c9f 100644
--- a/sys/miscfs/fifofs/fifo_vnops.c
+++ b/sys/miscfs/fifofs/fifo_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fifo_vnops.c,v 1.90 2021/12/14 15:53:42 visa Exp $ */
+/* $OpenBSD: fifo_vnops.c,v 1.91 2022/02/13 12:58:46 visa Exp $ */
/* $NetBSD: fifo_vnops.c,v 1.18 1996/03/16 23:52:42 christos Exp $ */
/*
@@ -611,7 +611,7 @@ filt_fiforeadmodify(struct kevent *kev, struct knote *kn)
int rv, s;
s = solock(so);
- knote_modify(kev, kn);
+ knote_assign(kev, kn);
rv = filt_fiforead_common(kn, so);
sounlock(so, s);
@@ -678,7 +678,7 @@ filt_fifowritemodify(struct kevent *kev, struct knote *kn)
int rv, s;
s = solock(so);
- knote_modify(kev, kn);
+ knote_assign(kev, kn);
rv = filt_fifowrite_common(kn, so);
sounlock(so, s);
@@ -737,7 +737,7 @@ filt_fifoexceptmodify(struct kevent *kev, struct knote *kn)
int rv, s;
s = solock(so);
- knote_modify(kev, kn);
+ knote_assign(kev, kn);
rv = filt_fifoexcept_common(kn, so);
sounlock(so, s);