summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-07-04 23:28:42 +0000
committermtm <mtm@FreeBSD.org>2003-07-04 23:28:42 +0000
commit4e84534c8a638a586e655be641895db6b7791303 (patch)
treed96b8a132ab436f9dbb45e51ac4427793396f1f9 /sys/kern
parentf8681630d97120c8d3c21a56540956b3cf648903 (diff)
downloadFreeBSD-src-4e84534c8a638a586e655be641895db6b7791303.zip
FreeBSD-src-4e84534c8a638a586e655be641895db6b7791303.tar.gz
I was so happy I found the semi-colon from hell that I didn't
notice another typo in the same line. This typo makes libthr unuseable, but it's effects where counter-balanced by the extra semicolon, which made libthr remarkably useable for the past several months.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_umtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c
index 4913fd2..d974b1d 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. */
OpenPOWER on IntegriCloud