about summary refs log tree commit diff
path: root/time/timegm.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/timegm.c')
-rw-r--r--time/timegm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/timegm.c b/time/timegm.c
index dc80f78683..f63aac94ca 100644
--- a/time/timegm.c
+++ b/time/timegm.c
@@ -23,5 +23,5 @@ timegm (tmp)
      struct tm *const tmp;
 {
   tmp->tm_isdst = 0;
-  return _mktime_internal (tmp, gmtime);
+  return __mktime_internal (tmp, __gmtime_r);
 }