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.
This commit is contained in:
Mike Makonnen 2003-07-04 23:28:42 +00:00
parent 58ac352f32
commit e55c35c433

View File

@ -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. */