Fix compiling problem.

This commit is contained in:
David Xu 2008-04-29 05:48:05 +00:00
parent 8d6a11a070
commit 3bba58f287
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178648

View File

@ -276,7 +276,7 @@ thr_exit(struct thread *td, struct thr_exit_args *uap)
/* Signal userland that it can free the stack. */
if ((void *)uap->state != NULL) {
suword_lwpid(uap->state, 1);
kern_umtx_wake(td, uap->state, INT_MAX);
kern_umtx_wake(td, uap->state, INT_MAX, 0);
}
PROC_LOCK(p);