aboutsummaryrefslogtreecommitdiff
path: root/timezone
diff options
context:
space:
mode:
Diffstat (limited to 'timezone')
-rw-r--r--timezone/test-tz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timezone/test-tz.c b/timezone/test-tz.c
index 28e1e37..af37d8a 100644
--- a/timezone/test-tz.c
+++ b/timezone/test-tz.c
@@ -34,7 +34,7 @@ main (int argc, char ** argv)
for (i = 0; i < sizeof (tests) / sizeof (tests[0]); ++i)
{
- setenv ("TZ", tests[i].env);
+ setenv ("TZ", tests[i].env, 1);
t = mktime (&tm);
if (t != tests[i].expected)
{