diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -533,7 +533,7 @@ { if (ie == NULL) - return (EINVAL); + return (0); mtx_lock(&event_lock); mtx_lock(&ie->ie_lock);