Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2026 21:02:43 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fed49793ddd1 - main - kern/sys_process.c: remove extra ()
Message-ID:  <6a57f573.45768.3a2e7c77@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kib:

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

commit fed49793ddd197e3dd86c8456b39f569ab74b54c
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-07-15 20:57:44 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-15 21:02:20 +0000

    kern/sys_process.c: remove extra ()
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 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 9fdcf79d0873..e10d1fc4b8be 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -1319,7 +1319,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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a57f573.45768.3a2e7c77>