about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.  */