git: 2cbf21fc2dbe - stable/15 - thread_stopped(): style

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 27 Jul 2026 00:30:10 UTC
The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=2cbf21fc2dbe94eaf49221796bdc1cd44717a515

commit 2cbf21fc2dbe94eaf49221796bdc1cd44717a515
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-07-18 16:29:10 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-27 00:28:44 +0000

    thread_stopped(): style
    
    (cherry picked from commit 2038232e3e40cfc3dedba1a9f4a66984448eca1e)
---
 sys/kern/kern_sig.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index fed5b62ee1c7..5f2034525bc0 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -3419,12 +3419,12 @@ thread_stopped(struct proc *p)
 	n = p->p_suspcount;
 	if (p == curproc)
 		n++;
-	if ((p->p_flag & P_STOPPED_SIG) && (n == p->p_numthreads)) {
+	if ((p->p_flag & P_STOPPED_SIG) != 0 && n == p->p_numthreads) {
 		PROC_SUNLOCK(p);
 		p->p_flag &= ~P_WAITED;
 		PROC_LOCK(p->p_pptr);
 		childproc_stopped(p, (p->p_flag & P_TRACED) ?
-			CLD_TRAPPED : CLD_STOPPED);
+		    CLD_TRAPPED : CLD_STOPPED);
 		PROC_UNLOCK(p->p_pptr);
 		PROC_SLOCK(p);
 	}