git: e8008c0fc1a3 - stable/15 - kern/sys_process.c: remove extra ()

Konstantin Belousov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a8124a5.44508.29d8b043__40139.6294286073$1786848758$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kib:

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

commit e8008c0fc1a37ddd464e1f1f28024113323a299a
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-07-15 20:57:44 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-08-16 02:41:32 +0000

    kern/sys_process.c: remove extra ()
    
    (cherry picked from commit fed49793ddd197e3dd86c8456b39f569ab74b54c)
---
 sys/kern/sys_process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index ccbc0b18ce70..04ec4c210e12 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -1378,7 +1378,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
 		break;
 
 	case PT_GET_SC_RET:
-		if ((td2->td_dbgflags & (TDB_SCX)) == 0
+		if ((td2->td_dbgflags & TDB_SCX) == 0
 #ifdef COMPAT_FREEBSD32
 		    || (wrap32 && !safe)
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.