Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2025 18:03:14 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d752f91d7f0a - stable/14 - kern_thr.c: fix typo
Message-ID:  <202506121803.55CI3E63067495@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

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

commit d752f91d7f0aa33654f4564c732b70ef2daec0bf
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-05-31 15:31:07 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-06-12 18:02:51 +0000

    kern_thr.c: fix typo
    
    (cherry picked from commit 3556ffa6adff34ed689185ac8c68a2fc9432741a)
---
 sys/kern/kern_thr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index 19ee082ad7f0..8ad885b42ebe 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -182,7 +182,7 @@ kern_thr_new(struct thread *td, struct thr_param *param)
 	struct rtprio rtp, *rtpp;
 	int error;
 
-	if ((param->flags & (THR_SUSPENDED | THR_SYSTEM_SCOPE |
+	if ((param->flags & ~(THR_SUSPENDED | THR_SYSTEM_SCOPE |
 	    THR_C_RUNTIME)) != 0)
 		return (EINVAL);
 	rtpp = NULL;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506121803.55CI3E63067495>