about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-10-04 22:27:43 +0000
committerRoland McGrath <roland@gnu.org>2004-10-04 22:27:43 +0000
commit982e38a67d7ecace3324374a5b33d02134d311c7 (patch)
tree394d892cbb38102a09178df1fc9fd24253c234df
parent0c70edcbc655bcd740b10ae9ddaa552491c930b1 (diff)
downloadglibc-982e38a67d7ecace3324374a5b33d02134d311c7.tar.gz
glibc-982e38a67d7ecace3324374a5b33d02134d311c7.tar.xz
glibc-982e38a67d7ecace3324374a5b33d02134d311c7.zip
* sysdeps/unix/sysv/linux/ia64/sysconf.c (linux_sysconf): Fix a typo.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/ia64/sysconf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cd2e0cac75..3720296e93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/unix/sysv/linux/ia64/sysconf.c (linux_sysconf): Fix a typo.
+
 2004-10-04  Roland McGrath  <roland@redhat.com>
 
 	* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol
diff --git a/sysdeps/unix/sysv/linux/ia64/sysconf.c b/sysdeps/unix/sysv/linux/ia64/sysconf.c
index ea4bde2e43..4b5d1ce2cd 100644
--- a/sysdeps/unix/sysv/linux/ia64/sysconf.c
+++ b/sysdeps/unix/sysv/linux/ia64/sysconf.c
@@ -32,7 +32,7 @@ static long int linux_sysconf (int name);
 long int
 __sysconf (int name)
 {
-  if (name == _SC_CPUTIME || name == SC_THREAD_CPUTIME)
+  if (name == _SC_CPUTIME || name == _SC_THREAD_CPUTIME)
     return has_cpuclock () ? 200112L : -1;
 
   /* Everything else is handled by the more general code.  */