]> err.no Git - util-linux/commitdiff
lscpu: fix CPU_EQUAL_S macro
authorKarel Zak <kzak@redhat.com>
Wed, 16 Jun 2010 20:50:42 +0000 (22:50 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 16 Jun 2010 20:50:42 +0000 (22:50 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
include/cpuset.h

index 64dab44ebc7563db96120b06a64fa65240f738db..93646605589844edbbdbd986269b5e46999d50bf 100644 (file)
@@ -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; })