From: Karel Zak Date: Wed, 16 Jun 2010 20:50:42 +0000 (+0200) Subject: lscpu: fix CPU_EQUAL_S macro X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d2a8dd00d682c87d9a9b984d538469f2aa5836f;p=util-linux lscpu: fix CPU_EQUAL_S macro Signed-off-by: Karel Zak --- diff --git a/include/cpuset.h b/include/cpuset.h index 64dab44e..93646605 100644 --- a/include/cpuset.h +++ b/include/cpuset.h @@ -44,7 +44,7 @@ size_t __imax = (setsize) / sizeof (__cpu_mask); \ size_t __i; \ for (__i = 0; __i < __imax; ++__i) \ - if (__bits[__i] != __bits[__i]) \ + if (__arr1[__i] != __arr2[__i]) \ break; \ __i == __imax; })