diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2021-02-27 13:43:17 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2021-02-27 13:43:17 +0000 |
commit | 60ac40b85ec99d6f54bb0c068b59315977cd0cef (patch) | |
tree | b7da48914d262fb3c650cc05198a8c4972e1c020 /sys/kern/kern_event.c | |
parent | 367723cd3af6867d2ca7b1d7d3f26285786fcd9d (diff) |
Replace stray direct call of f_event with filter_event().
This does not change the current behaviour, but filterops should be
invoked through filter_*() for consistency.
Diffstat (limited to 'sys/kern/kern_event.c')
-rw-r--r-- | sys/kern/kern_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index caa263a71bc..fc26f2eba45 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_event.c,v 1.161 2021/02/24 14:59:52 visa Exp $ */ +/* $OpenBSD: kern_event.c,v 1.162 2021/02/27 13:43:16 visa Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org> @@ -1605,7 +1605,7 @@ knote_remove(struct proc *p, struct knlist *list, int purge) kn->kn_fp = NULL; kn->kn_fop = &badfd_filtops; - kn->kn_fop->f_event(kn, 0); + filter_event(kn, 0); knote_activate(kn); s = splhigh(); knote_release(kn); |