diff options
| author | Mike Makonnen <mtm@FreeBSD.org> | 2003-07-04 23:28:42 +0000 |
|---|---|---|
| committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-07-04 23:28:42 +0000 |
| commit | e55c35c43365dc69f5ae186711be65b5169139a9 (patch) | |
| tree | d96b8a132ab436f9dbb45e51ac4427793396f1f9 | |
| parent | 58ac352f325bbb9785f5096d466a057ef8b3915f (diff) | |
Notes
| -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 4913fd2193dc..d974b1dcf0f7 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 == UMTX_CONTESTED) return (0); /* If this failed the lock has changed, restart. */ |
