diff options
Diffstat (limited to 'time/test-tz.c')
-rw-r--r-- | time/test-tz.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/time/test-tz.c b/time/test-tz.c index 2e1432cf11..528aa6f7ab 100644 --- a/time/test-tz.c +++ b/time/test-tz.c @@ -17,7 +17,7 @@ struct { int -main(int argc, char ** argv) +main (int argc, char ** argv) { int errors = 0; struct tm tm; @@ -36,8 +36,7 @@ main(int argc, char ** argv) for (i = 0; i < sizeof (tests) / sizeof (tests[0]); ++i) { putenv (tests[i].env); - tzset (); - t = mktime(&tm); + t = mktime (&tm); if (t != tests[i].expected) { printf ("%s: flunked test %u (expected %lu, got %lu)\n", |