diff options
Diffstat (limited to 'sys/kern/kern_umtx.c')
-rw-r--r-- | sys/kern/kern_umtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c index b13772c..4913fd2 100644 --- a/sys/kern/kern_umtx.c +++ b/sys/kern/kern_umtx.c @@ -180,7 +180,7 @@ _umtx_lock(struct thread *td, struct _umtx_lock_args *uap) if (owner == -1) return (EFAULT); - if (owner == MTX_CONTESTED); + if (owner == MTX_CONTESTED) return (0); /* If this failed the lock has changed, restart. */ |