From 624bf9e1348ad99a6efdca9f150b40b51efaccd2 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 3 Sep 2014 08:40:16 +0000 Subject: [PATCH] Style. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/kern/kern_thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 71f9b7eb89c3..ec084ed57c1d 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -507,8 +507,8 @@ thread_wait(struct proc *p) struct thread *td; mtx_assert(&Giant, MA_NOTOWNED); - KASSERT((p->p_numthreads == 1), ("multiple threads in thread_wait()")); - KASSERT((p->p_exitthreads == 0), ("p_exitthreads leaking")); + KASSERT(p->p_numthreads == 1, ("multiple threads in thread_wait()")); + KASSERT(p->p_exitthreads == 0, ("p_exitthreads leaking")); td = FIRST_THREAD_IN_PROC(p); /* Lock the last thread so we spin until it exits cpu_throw(). */ thread_lock(td);