git: fed49793ddd1 - main - kern/sys_process.c: remove extra ()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Jul 2026 21:02:43 UTC
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