diff options
Diffstat (limited to 'test_mkgmtime.c')
-rw-r--r-- | test_mkgmtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_mkgmtime.c b/test_mkgmtime.c index 8235e24d..df394e99 100644 --- a/test_mkgmtime.c +++ b/test_mkgmtime.c @@ -97,7 +97,7 @@ int main(int argc UNUSED, char *argv[] UNUSED) #if 0 /* use this to calculate with glibc */ ts = mktime(&tests[i].t); #else - ts = mkgmtime(&tests[i].t); + ts = timegm(&tests[i].t); #endif if (ts != tests[i].result) { failed = true; |