The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=47ed42f3f44ca21210c9d9c56c693248dbca29bb
commit 47ed42f3f44ca21210c9d9c56c693248dbca29bb Author: Konstantin Belousov <[email protected]> AuthorDate: 2025-08-21 13:54:36 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2025-10-18 05:12:36 +0000 kqueue_fo_release(): print filter with underflow Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D52045 --- sys/kern/kern_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index a6333d8011b1..57b6b75cb848 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -1576,7 +1576,7 @@ kqueue_fo_release(int filt) mtx_lock(&filterops_lock); KASSERT(sysfilt_ops[~filt].for_refcnt > 0, - ("filter object refcount not valid on release")); + ("filter object %d refcount not valid on release", filt)); sysfilt_ops[~filt].for_refcnt--; mtx_unlock(&filterops_lock); }
