summaryrefslogtreecommitdiff
path: root/libc/misc/time/clock_gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/time/clock_gettime.c')
-rw-r--r--libc/misc/time/clock_gettime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/time/clock_gettime.c b/libc/misc/time/clock_gettime.c
index 550cf4dc4..b71a8ac2d 100644
--- a/libc/misc/time/clock_gettime.c
+++ b/libc/misc/time/clock_gettime.c
@@ -26,7 +26,7 @@ int clock_gettime (clockid_t clock, struct timespec* ts)
int retval = -1;
switch (clock) {
case CLOCK_REALTIME:
- retval = gettimeofday (&tv, NULL);
+ retval = __libc_gettimeofday (&tv, NULL);
if (retval == 0) {
TIMEVAL_TO_TIMESPEC (&tv, ts);
}