summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2008-04-29 05:48:05 +0000
committerdavidxu <davidxu@FreeBSD.org>2008-04-29 05:48:05 +0000
commit4121b0c965df199689f538ea14e1851ac66a1c37 (patch)
tree0d8ab452ca946ff0f8f18a2f0788494f73ae7d36
parent0e9d39ae8fb92317d5c01b606a5921f9b24b18f8 (diff)
downloadFreeBSD-src-4121b0c965df199689f538ea14e1851ac66a1c37.zip
FreeBSD-src-4121b0c965df199689f538ea14e1851ac66a1c37.tar.gz
Fix compiling problem.
-rw-r--r--sys/kern/kern_thr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index 8c89ee2..dc9953b 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -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);
OpenPOWER on IntegriCloud