Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2025 15:37:58 GMT
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: 3556ffa6adff - main - kern_thr.c: fix typo
Message-ID:  <202505311537.54VFbw7w043013@gitrepo.freebsd.org>

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

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

commit 3556ffa6adff34ed689185ac8c68a2fc9432741a
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-05-31 15:31:07 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-05-31 15:34:10 +0000

    kern_thr.c: fix typo
    
    Fixes:  c25ddffc51a1e2c0e03fa
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 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 6266dec27700..7863e40e73af 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -178,7 +178,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?202505311537.54VFbw7w043013>