about summary refs log tree commit diff
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 6b9f93239b..92e22083d5 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -524,7 +524,7 @@ tz_compute (timer, tm)
      For the later the daylight saving time ends in the next year.
      It is easier to detect this after first computing the time for the
      wrong year since now we simply can compare the times to switch.  */
-  if (tz_rules[0].change < tz_rules[1].change
+  if (tz_rules[0].change > tz_rules[1].change
       && ! compute_change (&tz_rules[1], 1900 + tm->tm_year + 1))
     return 0;