git: d752f91d7f0a - stable/14 - kern_thr.c: fix typo
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Jun 2025 18:03:14 UTC
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;