aboutsummaryrefslogtreecommitdiff
path: root/time/tzset.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tzset.c')
-rw-r--r--time/tzset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/tzset.c b/time/tzset.c
index dcee9dd..385e7f7 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -548,7 +548,7 @@ tz_compute (timer, tm)
return 0;
__daylight = timer >= tz_rules[0].change && timer < tz_rules[1].change;
- __timezone = tz_rules[__daylight ? 1 : 0].offset;
+ __timezone = -tz_rules[__daylight ? 1 : 0].offset;
__tzname[0] = (char *) tz_rules[0].name;
__tzname[1] = (char *) tz_rules[1].name;