Skip to content

Commit

Permalink
Use __gettimeofday instead of gettimeofday
Browse files Browse the repository at this point in the history
  • Loading branch information
H.J. Lu authored and Ulrich Drepper committed Jun 26, 2011
1 parent 6846807 commit c2344f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/getsysstats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit c2344f5

Please sign in to comment.