about summary refs log tree commit diff
path: root/timezone/test-tz.c
diff options
context:
space:
mode:
Diffstat (limited to 'timezone/test-tz.c')
-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 28e1e37010..af37d8ae6a 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)
 	{