about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/posix/timespec_get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/timespec_get.c b/sysdeps/posix/timespec_get.c
index 22a06c8bee..a578e8b986 100644
--- a/sysdeps/posix/timespec_get.c
+++ b/sysdeps/posix/timespec_get.c
@@ -26,7 +26,7 @@ timespec_get (struct timespec *ts, int base)
   switch (base)
     {
     case TIME_UTC:
-      if (clock_gettime (CLOCK_REALTIME, ts) < 0)
+      if (__clock_gettime (CLOCK_REALTIME, ts) < 0)
         return 0;
       break;