about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-07-18 20:19:14 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-18 20:19:14 -0400
commit298711ffe475d2401e8037fd89538228e35ee79a (patch)
tree73865abc1a969edad727d875ad470e2ae66de930
parentf9d683894df1de8d72280771993affef5f77c6e2 (diff)
downloadglibc-298711ffe475d2401e8037fd89538228e35ee79a.tar.gz
glibc-298711ffe475d2401e8037fd89538228e35ee79a.tar.xz
glibc-298711ffe475d2401e8037fd89538228e35ee79a.zip
Fix typos in pretty much unused code in sched.h header.
-rw-r--r--ChangeLog8
-rw-r--r--bits/sched.h4
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h2
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a6bc75429e..3de90108af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
 
+	* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
+
+2011-07-15  Marek Polacek  <mpolacek@redhat.com>
+
+	* bits/sched.h (__CPU_EQUAL_S): Fix a typo.
+
+2011-07-18  Ulrich Drepper  <drepper@gmail.com>
+
 	* po/nl.po: Update from translation team.
 	* po/sv.po: Likewise.
 
diff --git a/bits/sched.h b/bits/sched.h
index 9a22ae3922..6fb5ab2205 100644
--- a/bits/sched.h
+++ b/bits/sched.h
@@ -1,6 +1,6 @@
 /* Definitions of constants and data structure for POSIX 1003.1b-1993
    scheduling interface.
-   Copyright (C) 1996-1999,2001-2003,2005,2006,2007,2008,2009
+   Copyright (C) 1996-1999,2001-2003,2005,2006,2007,2008,2009,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -120,7 +120,7 @@ typedef struct
       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; }))
 # endif
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index b222fb2115..6b1431dd97 100644
--- a/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/sysdeps/unix/sysv/linux/bits/sched.h
@@ -179,7 +179,7 @@ typedef struct
       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; }))
 # endif