git: 5650d340ad66 - main - sys/cpuset.h: fix macro definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Dec 2021 13:11:37 UTC
The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=5650d340ad66a47fb8ea182c7057a2d07806ca7e commit 5650d340ad66a47fb8ea182c7057a2d07806ca7e Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2021-12-31 13:09:44 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2021-12-31 13:09:44 +0000 sys/cpuset.h: fix macro definition The _s parameter was missing in the paramater list. Reported by: gljennjohn at gmail.com (Gary Jennejohn) --- sys/sys/cpuset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/cpuset.h b/sys/sys/cpuset.h index 5841fa37f28a..0ce470d5f569 100644 --- a/sys/sys/cpuset.h +++ b/sys/sys/cpuset.h @@ -90,7 +90,7 @@ #define CPU_XOR_S(_s, d, s1, s2) __BIT_XOR2(_s, d, s1, s2) #define CPU_COUNT_S(_s, p) ((int)__BIT_COUNT(_s, p)) -#define CPU_EQUAL_S(p, c) (__BIT_CMP(_s, p, c) == 0) +#define CPU_EQUAL_S(_s, p, c) (__BIT_CMP(_s, p, c) == 0) #endif /*