git: 3556ffa6adff - main - kern_thr.c: fix typo
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 May 2025 15:37:58 UTC
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;