about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/getsysstats.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2011-06-26 03:08:01 -0400
committerUlrich Drepper <drepper@gmail.com>2011-06-26 03:08:01 -0400
commitc2344f56e41b56036d6a16a30b9f32c19aa932d6 (patch)
treea3daa22401412a72ea192a7cf4d34a7c1221ef07 /sysdeps/unix/sysv/linux/getsysstats.c
parent68468076c221dc595e955d2c7982a3391ee0772a (diff)
downloadglibc-c2344f56e41b56036d6a16a30b9f32c19aa932d6.tar.gz
glibc-c2344f56e41b56036d6a16a30b9f32c19aa932d6.tar.xz
glibc-c2344f56e41b56036d6a16a30b9f32c19aa932d6.zip
Use __gettimeofday instead of gettimeofday
Diffstat (limited to 'sysdeps/unix/sysv/linux/getsysstats.c')
-rw-r--r--sysdeps/unix/sysv/linux/getsysstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c
index b74774ffe8..b9bae3df98 100644
--- a/sysdeps/unix/sysv/linux/getsysstats.c
+++ b/sysdeps/unix/sysv/linux/getsysstats.c
@@ -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 ();