svn commit: r271008 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Wed Sep 3 08:40:16 UTC 2014
Author: kib
Date: Wed Sep 3 08:40:16 2014
New Revision: 271008
URL: http://svnweb.freebsd.org/changeset/base/271008
Log:
Style.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/kern/kern_thread.c
Modified: head/sys/kern/kern_thread.c
==============================================================================
--- head/sys/kern/kern_thread.c Wed Sep 3 08:35:42 2014 (r271007)
+++ head/sys/kern/kern_thread.c Wed Sep 3 08:40:16 2014 (r271008)
@@ -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);
More information about the svn-src-head
mailing list