]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use __gettimeofday instead of gettimeofday
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 26 Jun 2011 07:08:01 +0000 (03:08 -0400)
committerUlrich Drepper <drepper@gmail.com>
Sun, 26 Jun 2011 07:08:01 +0000 (03:08 -0400)
ChangeLog
sysdeps/unix/sysv/linux/getsysstats.c

index 0745a7dd80bd831258108202c90c646c85f35d1d..7ba4fd53255ed002e24c4f54c27c2ac735d11e01 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
+       __gettimeofday instead of gettimeofday.
+
 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
 
        * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
index b74774ffe8ec79d50b1e278b58c1911fe005aadf..b9bae3df98b6e56eb6b724cbf215eed76328ed27 100644 (file)
@@ -147,7 +147,7 @@ __get_nprocs ()
   INTERNAL_VSYSCALL (clock_gettime, err, 2, CLOCK_REALTIME, &ts);
 #else
   struct timeval ts;
-  gettimeofday (&ts, NULL);
+  __gettimeofday (&ts, NULL);
 #endif
   time_t prev = timestamp;
   atomic_read_barrier ();